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
個人資料?
感謝