[chore] add build script

This commit is contained in:
SouthFox 2023-08-25 18:58:43 +08:00
parent 7cb4af6efa
commit 3d574dcfb2
2 changed files with 11 additions and 3 deletions

View file

@ -4,8 +4,7 @@
: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"]
:dependencies [[org.clojure/clojure "1.11.1"]
[org.clojure/clojurescript "1.11.60"]
[thheller/shadow-cljs "2.25.2"]
[com.google.javascript/closure-compiler-unshaded "v20230802"]
@ -36,4 +35,5 @@
[org.jsoup/jsoup "1.16.1"]
[cheshire "5.11.0"]]
:resource-paths ["public/"]
:aot :all}})

8
script/release.sh Normal file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
npm run postcss:release
npm run shadow:release
cp -r public resources/public
rm -rf resources/public/js/cljs-runtime
lein uberjar