Add main entry point

Seemed sensible
This commit is contained in:
Archie Hilton 2024-10-14 22:49:59 +01:00
parent d8e278de37
commit 1f901f9026
2 changed files with 11 additions and 1 deletions

View File

@ -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
)

8
src/website/main.clj Normal file
View File

@ -0,0 +1,8 @@
(ns website.main
(:require [website.core :as core])
(:gen-class)
)
(defn -main [&args]
(core/foo 1)
)