mirror of
https://github.com/metosin/reitit.git
synced 2026-01-11 17:39:50 +00:00
26 lines
528 B
Bash
Executable file
26 lines
528 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
case $1 in
|
|
cljs)
|
|
npx shadow-cljs compile node-test
|
|
node target/shadow-node-test/node-tests.js
|
|
|
|
rm -rf target/karma
|
|
npx shadow-cljs compile karma
|
|
npx karma start --single-run
|
|
|
|
rm -rf target/karma
|
|
npx shadow-cljs release karma
|
|
npx karma start --single-run
|
|
;;
|
|
clj11)
|
|
lein test-clj11
|
|
;;
|
|
clj12)
|
|
lein test-clj
|
|
;;
|
|
*)
|
|
echo "Please select [clj11|clj12|cljs]"
|
|
exit 1
|
|
;;
|
|
esac
|