Juho Teperi 58583db56d Add tests using Cljs bundle output with Karma
New :bundle target will generate JS tooling compatible output, which can
be processed with Webpack and passed to Karma.
2020-04-16 22:45:51 +03:00

6 lines
242 B
Bash
Executable File

#!/bin/bash
set -ex
clj -m cljs.main -co test-environments/bundle-adv/build.edn -v --compile
npx webpack --config=test-environments/bundle-adv/webpack.config.js
cp -r site/public/index.html site/public/css target/bundle-adv/resources/public/