[英]Where can I find leiningen's profiles.clj on Mac?
I am unable to locate the Leiningen profiles.clj file under .lein on my Mac. 我无法在Mac上的.lein下找到Leiningenprofiles.clj文件。 I am looking to use a previous version of Luminus by adding the following code to the profiles.clj:
我希望通过将以下代码添加到profiles.clj中来使用Luminus的早期版本:
:user {:plugins [[luminus/lein-template "1.16.7"]]}
So when i run: 因此,当我运行时:
lein new luminus myproject
I use the 1.16.7 template version of luminus. 我使用luminus的1.16.7模板版本。
Thanks 谢谢
It should be located at ~/.lein/profiles.clj
as you're suggesting. 根据您的建议,它应该位于
~/.lein/profiles.clj
中。
However, if you've not had need for profiles.clj before, then you have to create it yourself, which is probably why you can't find it. 但是,如果以前不需要profiles.clj,则必须自己创建它,这可能就是为什么找不到它的原因。
I set up a new machine recently, and I'm pretty sure that I created the file myself. 我最近安装了一台新机器,并且我很确定自己创建了该文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.