Skip to content

Commit 9b858c8

Browse files
committed
Merge branch 'makefile'
2 parents 676fa98 + 58704e8 commit 9b858c8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ gradle.properties
1010
repo
1111
.env
1212
target/
13+
smtpapi-java.jar

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/smtpapi-java-$(VERSION).jar smtpapi-java-client.jar
68

79
test:
810
mvn test

0 commit comments

Comments
 (0)