Skip to content

Commit 33584ea

Browse files
committed
lein new app
1 parent 29342a4 commit 33584ea

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

project.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
:url "http://example.com/FIXME"
44
:license {:name "Eclipse Public License"
55
:url "http://www.eclipse.org/legal/epl-v10.html"}
6-
:dependencies [[org.clojure/clojure "1.6.0"]])
6+
: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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
(ns gitique-examples.core)
1+
(ns gitique-examples.core
2+
(:gen-class))
23

3-
(defn foo
4-
"I don't do a whole lot."
5-
[x]
6-
(println x "Hello, World!"))
4+
(defn -main
5+
"I don't do a whole lot ... yet."
6+
[& args]
7+
(println "Hello, World!"))

0 commit comments

Comments
 (0)