blob: 097072449f99eecd0998edb67aaa9b090b125acc [file] [log] [blame]
build: core
npx webpack --mode=development
serve:
npx webpack-dev-server --watch --mode=development
core: package-lock.json
go install -v ./go/push
go install -v ./go/pushcli
go install -v ./go/build_skiapush_json5
build_skiapush_json5
test: core
# Run the generated tests just once under Xvfb.
xvfb-run --auto-servernum --server-args "-screen 0 1280x1024x24" npx karma start --single-run --no-colors
release: core
CGO_ENABLED=0 GOOS=linux go install -a ./go/push
npx webpack --mode=production
./build_push_release "`git log -n1 --format=%s`"
watch: core
npx webpack --watch --mode=development
push: release
pushk push
docs:
npx jsdoc -c jsdoc.config.js `find modules -name "*.js"`
.PHONY: build serve core test release watch push docs
package-lock.json: package.json
npm install