[chore] add build script
This commit is contained in:
parent
7cb4af6efa
commit
3d574dcfb2
2 changed files with 11 additions and 3 deletions
|
@ -4,8 +4,7 @@
|
||||||
:url "http://example.com/FIXME"
|
:url "http://example.com/FIXME"
|
||||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
: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/"}
|
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
||||||
:dependencies [
|
:dependencies [[org.clojure/clojure "1.11.1"]
|
||||||
[org.clojure/clojure "1.11.1"]
|
|
||||||
[org.clojure/clojurescript "1.11.60"]
|
[org.clojure/clojurescript "1.11.60"]
|
||||||
[thheller/shadow-cljs "2.25.2"]
|
[thheller/shadow-cljs "2.25.2"]
|
||||||
[com.google.javascript/closure-compiler-unshaded "v20230802"]
|
[com.google.javascript/closure-compiler-unshaded "v20230802"]
|
||||||
|
@ -36,4 +35,5 @@
|
||||||
[org.jsoup/jsoup "1.16.1"]
|
[org.jsoup/jsoup "1.16.1"]
|
||||||
[cheshire "5.11.0"]]
|
[cheshire "5.11.0"]]
|
||||||
|
|
||||||
:aot :all}})
|
:resource-paths ["public/"]
|
||||||
|
:aot :all}})
|
||||||
|
|
8
script/release.sh
Normal file
8
script/release.sh
Normal 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
|
Loading…
Reference in a new issue