Skip to content

Instantly share code, notes, and snippets.

@jcaromiq
Last active December 20, 2017 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcaromiq/85fae69600e39cf7249c926f8917b0cd to your computer and use it in GitHub Desktop.
Save jcaromiq/85fae69600e39cf7249c926f8917b0cd to your computer and use it in GitHub Desktop.
Clojure leiningen ci-friendly version
(def revision (or (System/getenv "revision") "LOCAL"))
(defproject my-awesome-project revision
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]]
:main ^:skip-aot app.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})
revision="1.2.3" lein do test, uberjar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment