diff --git a/project.clj b/project.clj index a1f1531..f711f79 100644 --- a/project.clj +++ b/project.clj @@ -5,4 +5,6 @@ :url "https://www.eclipse.org/legal/epl-2.0/"} :dependencies [[org.clojure/clojure "1.11.1"] [hiccup "2.0.0-RC3"]] - :repl-options {:init-ns website.core}) + :repl-options {:init-ns website.core} + :main website.main + ) diff --git a/src/website/main.clj b/src/website/main.clj new file mode 100644 index 0000000..bece2a3 --- /dev/null +++ b/src/website/main.clj @@ -0,0 +1,8 @@ +(ns website.main + (:require [website.core :as core]) + (:gen-class) + ) + +(defn -main [&args] + (core/foo 1) + )