2
在我的project.clj中,我试图设置一些jvm-opts,当我做lein run
,lein jar
,lein uberjar
和lein install
。lein的“安装”和“jar”任务配置文件
到目前为止,只有uberjar
和dev
条目似乎工作(我可以在运行时通过System/getProperty
阅读)
:profiles {:dev {:jvm-opts ["-Dcompiling-utils=true"]}
:uberjar {:jvm-opts ["-Dcompiling-utils=true"]}
:install {:jvm-opts ["-Dcompiling-utils=true"]}}
如何获得lein install
和lein jar
个人资料?
感谢