Created
June 12, 2019 19:48
-
-
Save mikeananev/7d457ac497f3036284d9e2fd1f560ff5 to your computer and use it in GitHub Desktop.
Using Leiningen and deps.edn with profiles and aliases.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject my/project "0.1.0" | |
:repositories [["spring" {:url "https://repo.spring.io/plugins-release/"}]] | |
:plugins [[lein-tools-deps "0.4.5"]] | |
:middleware [lein-tools-deps.plugin/resolve-dependencies-with-deps-edn] | |
:lein-tools-deps/config {:config-files [:install :user :project]} | |
:main ^:skip-aot ams.core | |
:target-path "target/%s" | |
:uberjar-name "myapp.jar" | |
:profiles {:uberjar {:aot :all} | |
:dev {:lein-tools-deps/config {:resolve-aliases [:debug-tools]} | |
:injections [(use 'debux.core) | |
(require 'sc.api)]}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment