Report prod bundle size on CI

This commit is contained in:
Juho Teperi 2017-12-20 19:52:23 +02:00
parent ae532864ce
commit a2f445eb99
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{
"private": true,
"devDependencies": {
"gzip-size-cli": "^2.1.0",
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-cljs-test": "0.1.0",

View File

@ -2,3 +2,4 @@
set -ex
lein do clean, doo chrome-headless prod-test once
test -f target/cljsbuild/prod-test/main.js
../../node_modules/.bin/gzip-size target/cljsbuild/prod-test/main.js