Created
August 29, 2016 01:57
-
-
Save dfuenzalida/252860b7652fb2d21a08559da63381f3 to your computer and use it in GitHub Desktop.
Leiningen Multiple Mains
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
(ns manymains.alt | |
(:gen-class)) | |
(defn -main | |
"I don't do a whole lot ... yet." | |
[& args] | |
(println "Hello, World from Alt!")) |
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
(ns manymains.core | |
(:gen-class)) | |
(defn -main | |
"I don't do a whole lot ... yet." | |
[& args] | |
(println "Hello, World from Core!")) |
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 manymains "0.1.0-SNAPSHOT" | |
: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.7.0"]] | |
;; :main ^:skip-aot manymains.core | |
:target-path "target/%s" | |
:profiles {:uberjar {:aot :all}}) |
Author
dfuenzalida
commented
Aug 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment