Last active
August 25, 2020 01:24
-
-
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
This file contains hidden or 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
| (ns app.core) | |
| (defn -main | |
| "I don't do a whole lot." | |
| [x] | |
| (println x "Hello, World!")) |
This file contains hidden or 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 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