forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (26 loc) · 737 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.DEFAULT_GOAL := test
.PHONY: test
test:
./gradlew clean assemble check --stacktrace
.PHONY: test-with-docker
test-with-docker:
./gradlew -Penable.docker.tests=true clean assemble check --stacktrace
.PHONY: benchmark
benchmark:
./gradlew compileJmhJava
.PHONY: init-git-submodules
init-git-submodules:
git submodule init
git submodule update
.PHONY: verify-format
verify-format:
./gradlew spotlessCheck
.PHONY: publish-snapshots
publish-snapshots:
ifeq ($(CIRCLE_BRANCH),master)
# TODO(anuraaga): Remove version specificer after next release creates a tag on master.
./gradlew artifactoryPublish -Prelease.version=0.10.0-SNAPSHOT
endif
.PHONY: publish-release-artifacts
publish-release-artifacts:
./gradlew bintrayUpload