-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 741 Bytes
/
Makefile
File metadata and controls
23 lines (17 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: default
default: | help
.PHONY: build
build: ## Build the project and install to you local maven repo
mvn clean install
.PHONY: run-benchmark
run-benchmark: ## Run benchmark tests
mvn clean package exec:exec -Pbenchmark
.PHONY: release-dryrun
release-dryrun: ## Simulate a release in order to detect any issues
mvn release:prepare release:perform -Darguments="-Dmaven.deploy.skip=true" -DdryRun=true
.PHONY: release
release: ## Release a new version. Update POMs and tag the new version in git. Pipeline will deploy upon tag detection.
git push origin main:release
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'