简体   繁体   English

在Mac上哪里可以找到leiningen的profile.clj?

[英]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.

相关问题 如何将profiles.clj加载到CURSIVE REPL中? - How can I load profiles.clj into CURSIVE REPL? 如何在配置文件/项目配置的另一部分中的profiles.clj中使用值? - How can I use a value in my profiles.clj in another section of my profile/project configuration? 如何创建/访问〜/ .lein / profiles.clj? - How do I create/access ~/.lein/profiles.clj? 什么:在profiles.clj中提供了什么意思? - What does :provided mean in profiles.clj? 在profiles.clj中为* print-length *提供默认值的正确方法是什么? - What's the correct way of providing a default value for *print-length* in profiles.clj? 未在lein repl中加载profiles.clj中的依赖项 - Dependencies in profiles.clj aren't loaded in lein repl clojure:profiles.clj在使用苹果酒时在一些项目中没有得到尊重 - clojure: profiles.clj not getting honored in some projects when using cider 无法使用environ访问leiningen project.clj中的环境变量 - Can't access environment variables in leiningen project.clj with environ 我在哪里可以在clj文件中指定warn-on-reflection? - Where can I specify warn-on-reflection in a clj file? 在哪里可以找到用于Clojure的MSI安装程序,该安装程序将“ clj.exe”添加到PATH? - Where can I find an MSI installer for Clojure that adds a “clj.exe” to PATH?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM