Hacker News new | ask | show | jobs
by nerd_stuff 4001 days ago
To expand on this:

If you're familiar with Python Leiningen takes the place of both pip and virtualenv. Every project has a project.clj file where you declare your project dependencies and running "lein deps" from your project root handles it from there. This includes libraries and the version of Clojure you're targeting. When you add/delete/change a dependency in project.clj you simply run "lein deps" again. You never have to run "pip freeze" or make a requirements.txt file because project.clj serves that purpose as well.

As an example, Leiningen's own project.clj: https://github.com/technomancy/leiningen/blob/master/project...