mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
23 lines
472 B
Bash
Executable file
23 lines
472 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
|
|
;;
|
|
clj)
|
|
lein test-clj
|
|
;;
|
|
*)
|
|
echo "Please select [clj|cljs]"
|
|
exit 1
|
|
;;
|
|
esac
|