gde4onos/Makefile

12 lines
395 B
Makefile
Raw Normal View History

2020-05-19 19:13:18 +00:00
artifactId := $(shell cat pom.xml | grep artifactId | head -1 | cut -d\> -f2 | cut -d\< -f1)
version := $(shell cat pom.xml | grep version | grep -v '<?xml' | head -1 | cut -d\> -f2 | cut -d\< -f1)
plugin.oar: target/${artifactId}-${version}.jar
cp target/${artifactId}-${version}.jar plugin.oar
target/${artifactId}-${version}.jar: build
-@ echo -ne
build:
mvn clean compile test package