Revision 16473358519a0ee318142a44d7cd05f80e795fdb authored by Bruno Thomas on 18 July 2018, 13:19:23 UTC, committed by Bruno Thomas on 18 July 2018, 13:19:23 UTC
1 parent 0ec4529
Makefile
VERSION = $(shell cat pom.xml | grep '<version>[0-9.]\+' | sed 's/<version>\([0-9.]\+\)<\/version>/\1/g' | tr -d '[:space:]')
DIST_TARGET=datashare-dist/target/datashare-dist-$(VERSION)-all
PATH_TO_APP_DIST=../datashare-client/dist/
$(DIST_TARGET): dist
clean:
mvn clean
.PHONY: dist
dist:
mvn validate package -Dmaven.test.skip=true
install:
mvn install
version:
mvn versions:set -Dnew
docker: $(DIST_TARGET)
cp -a $(PATH_TO_APP_DIST) $(DIST_TARGET)/app || exit 1
docker build -t icij/datashare:$(VERSION) $(DIST_TARGET)
unit:
mvn test
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...