Skip to content

Commit e2bbf5a

Browse files
committed
chore: update Makefile to move jar during install
1 parent 5dd4c83 commit e2bbf5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
.PHONY: install test test-integration clean
22

3+
VERSION := $(shell mvn help:evaluate -Dexpression=project.version | grep -e '^[^\[]')
34
install:
45
@java -version || (echo "Java is not installed, please install Java >= 7"; exit 1);
56
mvn clean install -DskipTests=true -Dgpg.skip -B
7+
cp target/java-http-client-$(VERSION).jar java-http-client.jar
68

79
test:
810
mvn test

0 commit comments

Comments
 (0)