found out how to test using shadow-cljs

This commit is contained in:
jem 2020-06-26 15:59:21 +02:00
parent ac9976c2f4
commit 830b5c1cda

View file

@ -2,18 +2,20 @@
## dev release ## dev release
``` ```
shadow-cljs watch test shadow-cljs compile test
shadow-cljs release app shadow-cljs release app
mkdir target/npm-build mkdir target/npm-build
cp mastodon-bot.js target/npm-build/ cp mastodon-bot.js target/npm-build/
cp README.md target/npm-build/ cp README.md target/npm-build/
tar -c -C target/npm-build -f target/npm-build.tar . tar -c -C target/npm-build -f target/npm-build.tar .
npm publish ./target/npm-build.tar --access public --tag dev0 npm publish ./target/npm-build.tar --access public --tag dev0
``` ```
## prod release (should be done from master) ## prod release (should be done from master)
``` ```
shadow-cljs watch test shadow-cljs compile test
#adjust version #adjust version
vi shadow-cljs.edn vi shadow-cljs.edn