use released common
This commit is contained in:
parent
9d48bbb8fb
commit
bc77d1257c
3 changed files with 2 additions and 30 deletions
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# set things
|
||||
set -o nounset
|
||||
set -o xtrace
|
||||
set -o errexit
|
||||
set -eo pipefail
|
||||
|
||||
# dirs
|
||||
srcDir="/home/$USER/repo/c4k/c4k-forgejo/public/js/"
|
||||
srcName="main.js"
|
||||
targetDir="/home/$USER/repo/website/dda-io/content/templates/js/"
|
||||
targetName="c4k-forgejo.js"
|
||||
|
||||
echo "build test"
|
||||
shadow-cljs compile test
|
||||
|
||||
echo "test"
|
||||
node target/node-tests.js
|
||||
|
||||
echo "build frontend"
|
||||
shadow-cljs compile frontend
|
||||
|
||||
echo "move and rename file"
|
||||
cp $srcDir$srcName $targetDir$targetName
|
||||
|
||||
echo "run"
|
||||
(cd $targetDir; lein ring server)
|
|
@ -5,7 +5,7 @@
|
|||
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
||||
:dependencies [[org.clojure/clojure "1.12.0" :scope "provided"]
|
||||
[org.clojure/tools.reader "1.5.2"]
|
||||
[org.domaindrivenarchitecture/c4k-common-clj "11.0.0-SNAPSHOT"]
|
||||
[org.domaindrivenarchitecture/c4k-common-clj "11.0.0"]
|
||||
[hickory "0.7.1" :exclusions [viebel/codox-klipse-theme]]]
|
||||
:target-path "target/%s/"
|
||||
:source-paths ["src/main/cljc"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"src/test/cljc"
|
||||
"src/test/cljs"
|
||||
"src/test/resources"]
|
||||
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "11.0.0-SNAPSHOT"]
|
||||
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "11.0.0"]
|
||||
[hickory "0.7.1"]]
|
||||
:builds {:frontend {:target :browser
|
||||
:modules {:main {:init-fn dda.c4k-forgejo.browser/init}}
|
||||
|
|
Loading…
Add table
Reference in a new issue