mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-26 17:10:11 -04:00
19 lines
527 B
Makefile
19 lines
527 B
Makefile
|
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
|