Skip to content

Instantly share code, notes, and snippets.

@willhyper
Last active August 25, 2020 01:24
Show Gist options
  • Save willhyper/19b1ca49e51394f6d413be95a31ee1fe to your computer and use it in GitHub Desktop.
Save willhyper/19b1ca49e51394f6d413be95a31ee1fe to your computer and use it in GitHub Desktop.
lein new app; lein run; lein uberjar; java -jar target/app-0.1.0-SNAPSHOT-standalone.jar
(ns app.core)
(defn -main
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
(defproject app "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]]
:repl-options {:init-ns app.core}
:main app.core
:aot :all)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment