2018-10-24 21:00:32 +00:00
|
|
|
# Run docker build
|
|
|
|
# usage:
|
|
|
|
# make build-beta
|
|
|
|
# make build-stable
|
2018-10-24 15:55:28 +00:00
|
|
|
build-%:
|
2018-10-24 16:00:11 +00:00
|
|
|
./scripts/docker-build.sh $*
|
2018-10-19 15:02:30 +00:00
|
|
|
|
2018-10-24 21:00:32 +00:00
|
|
|
# s3sync with stage.mytrezor.com
|
|
|
|
# Upload requested build for testing purposes
|
|
|
|
# usage:
|
|
|
|
# make stage-beta
|
|
|
|
# make stage-stable
|
2018-10-26 09:50:31 +00:00
|
|
|
sync-stage-%:
|
2018-10-24 21:00:32 +00:00
|
|
|
./scripts/s3sync.sh stage $*
|
|
|
|
|
|
|
|
# s3sync with beta.mytrezor.com
|
|
|
|
# Upload build/beta only
|
|
|
|
# usage:
|
|
|
|
# make beta
|
2018-10-26 09:50:31 +00:00
|
|
|
sync-beta:
|
2018-10-24 21:00:32 +00:00
|
|
|
./scripts/s3sync.sh beta beta
|
|
|
|
|
|
|
|
# s3sync with wallet.mytrezor.com
|
|
|
|
# Upload build/stable only
|
|
|
|
# usage:
|
|
|
|
# make stable
|
2018-10-26 09:50:31 +00:00
|
|
|
sync-stable:
|
|
|
|
./scripts/s3sync.sh stable stable
|
|
|
|
|
|
|
|
.DEFAULT_GOAL:= default
|
|
|
|
default:
|
|
|
|
@echo "Build:"
|
|
|
|
@echo "git checkout to desired branch (beta|stable)"
|
|
|
|
@echo " make build-beta"
|
|
|
|
@echo " make build-stable"
|
|
|
|
@echo "Sync:"
|
|
|
|
@echo "s3 sync desired build to server (beta.mytrezor.com|wallet.mytrezor.com)"
|
|
|
|
@echo " make sync-beta"
|
|
|
|
@echo " make sync-stable"
|
|
|
|
@echo "Staging:"
|
|
|
|
@echo "s3 sync desired build to stage server (stage.mytrezor.com)"
|
|
|
|
@echo " make sync-stage-beta"
|
|
|
|
@echo " make sync-stage-stable"
|