forked from securevale/swift-confidential
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (14 loc) · 691 Bytes
/
Makefile
File metadata and controls
20 lines (14 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.DEFAULT_GOAL := help
.PHONY: help bash release-artifacts release tests
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
bash: ## Upgrade Bash to the latest version
@./Scripts/upgrade_bash.sh
release-artifacts: ## Generate release artifacts
@test -z "$$(git status --porcelain)" || { echo "Aborting due to uncommitted changes" >&2; exit 1; }
@./Scripts/generate_release_artifacts.sh $(version)
release: release-artifacts ## Generate release artifacts and tag the release with given version
@git tag $(version)
@git push origin $(version)
tests: ## Run package tests
@./Scripts/run_tests.sh