Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions for using leinigen profiles #96

Open
ezmiller opened this issue May 7, 2021 · 0 comments
Open

Update instructions for using leinigen profiles #96

ezmiller opened this issue May 7, 2021 · 0 comments

Comments

@ezmiller
Copy link

ezmiller commented May 7, 2021

I think the README instructions for working with leinigen profiles needs to be updated. I was struggling to set these up for some time, using the example in the README:

 :lein-tools-deps/config {:config-files ["foo.edn"]}
 :profiles {:dev {:lein-tools-deps/config ["bar.edn" "baz.edn"]}}

Then I finally saw the note a bit above:

Note: With lein-tools-deps 0.3.0-SNAPSHOT and earlier, the config value was a vector and looked like :tools/deps [:install :user :project], as of 0.4.0 it changed to the above map based syntax.

So I tried:

  :lein-tools-deps/config {:config-files [:install :user :project]}
  :profiles {:dev {:lein-tools-deps/config {:config-files ["dev.edn"]}}

And I think that worked, although I'm still testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant