We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lein new app
1 parent 29342a4 commit 33584eaCopy full SHA for 33584ea
project.clj
@@ -3,4 +3,7 @@
3
:url "http://example.com/FIXME"
4
:license {:name "Eclipse Public License"
5
:url "http://www.eclipse.org/legal/epl-v10.html"}
6
- :dependencies [[org.clojure/clojure "1.6.0"]])
+ :dependencies [[org.clojure/clojure "1.6.0"]]
7
+ :main ^:skip-aot gitique-examples.core
8
+ :target-path "target/%s"
9
+ :profiles {:uberjar {:aot :all}})
src/gitique_examples/core.clj
@@ -1,6 +1,7 @@
1
-(ns gitique-examples.core)
+(ns gitique-examples.core
2
+ (:gen-class))
-(defn foo
- "I don't do a whole lot."
- [x]
- (println x "Hello, World!"))
+(defn -main
+ "I don't do a whole lot ... yet."
+ [& args]
+ (println "Hello, World!"))
0 commit comments