[chore] change build tool to lein ... again

This commit is contained in:
SouthFox 2023-08-21 05:39:43 +08:00
parent 5c1eaf0885
commit 07eb2f8aa4
3 changed files with 33 additions and 14 deletions

View file

@ -1,13 +0,0 @@
{:paths ["src/main"]
:deps
{org.clojure/clojure {:mvn/version "1.11.1"}
org.clojure/clojurescript {:mvn/version "1.11.60"}
thheller/shadow-cljs {:mvn/version "2.25.2"}
reagent/reagent {:mvn/version "1.2.0"}
re-frame/re-frame {:mvn/version "1.3.0"}
metosin/reitit {:mvn/version "0.7.0-alpha5"}
day8.re-frame/tracing {:mvn/version "0.6.2"}
day8.re-frame/re-frame-10x {:mvn/version "1.6.0"}
}}

32
project.clj Normal file
View file

@ -0,0 +1,32 @@
;; shadow-cljs configuration
(defproject liberty-hu "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [
[org.clojure/clojure "1.11.1"]
[org.clojure/clojurescript "1.11.60"]
[thheller/shadow-cljs "2.25.2"]
[ring/ring-core "1.11.0-alpha1"]
[ring/ring-jetty-adapter "1.11.0-alpha1"]
[com.google.javascript/closure-compiler-unshaded "v20230802"]
[org.slf4j/slf4j-nop "2.0.7"]
[reagent/reagent "1.2.0"]
[re-frame/re-frame "1.3.0"]
[metosin/reitit "0.7.0-alpha5"]
[day8.re-frame/tracing "0.6.2"]
[day8.re-frame/re-frame-10x "1.6.0"]
]
:source-paths ["src/main"]
:main ^:skip-aot backend.core
:profiles
{:uberjar {:dependencies ^:replace [[org.clojure/clojure "1.11.1"]
[ring/ring-jetty-adapter "1.11.0-alpha1"]
[org.slf4j/slf4j-nop "2.0.7"]]
:aot :all}})

View file

@ -1,5 +1,5 @@
;; shadow-cljs configuration ;; shadow-cljs configuration
{:deps true {:lein true
:nrepl {:port 8701} :nrepl {:port 8701}
:dev-http {8080 "public"} :dev-http {8080 "public"}