mirror of
https://github.com/trezor/trezor-wallet
synced 2025-05-20 15:58:50 +00:00
Makefile: added "sync-" prefix and default goal with usage description
This commit is contained in:
parent
059a3b9dd9
commit
9f1f1df834
23
Makefile
23
Makefile
@ -10,19 +10,34 @@ build-%:
|
|||||||
# usage:
|
# usage:
|
||||||
# make stage-beta
|
# make stage-beta
|
||||||
# make stage-stable
|
# make stage-stable
|
||||||
stage-%:
|
sync-stage-%:
|
||||||
./scripts/s3sync.sh stage $*
|
./scripts/s3sync.sh stage $*
|
||||||
|
|
||||||
# s3sync with beta.mytrezor.com
|
# s3sync with beta.mytrezor.com
|
||||||
# Upload build/beta only
|
# Upload build/beta only
|
||||||
# usage:
|
# usage:
|
||||||
# make beta
|
# make beta
|
||||||
beta:
|
sync-beta:
|
||||||
./scripts/s3sync.sh beta beta
|
./scripts/s3sync.sh beta beta
|
||||||
|
|
||||||
# s3sync with wallet.mytrezor.com
|
# s3sync with wallet.mytrezor.com
|
||||||
# Upload build/stable only
|
# Upload build/stable only
|
||||||
# usage:
|
# usage:
|
||||||
# make stable
|
# make stable
|
||||||
stable:
|
sync-stable:
|
||||||
./scripts/s3sync.sh stable 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"
|
Loading…
Reference in New Issue
Block a user