dynamicbible/src/Makefile

19 lines
527 B
Makefile
Raw Normal View History

output := dist/dynamicbible/
test:
npm run-script test-headless
# For some reason karma is unable to connect to the browser here.
# I don't want to debug so not using test as a dependency.
build: test
npm run-script build
deploy-prod: build
gsutil -m rsync -d -r ${output} gs://dynamicbible.com
deploy-staging: build
gsutil -m rsync -d -r ${output} gs://staging.dynamicbible.com
update-bucket-configs: gcloud/buckets.yaml
gcloud deployment-manager deployments update dynamicbible-buckets --config gcloud/buckets.yaml