Revision 56354f1976ed09a727d99fe9d38f6722128ea1c2 authored by Bruno Thomas on 26 August 2020, 13:43:03 UTC, committed by Bruno Thomas on 26 August 2020, 13:43:03 UTC
1 parent 6d99cb9
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)-docker
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
help-db:
mvn help:describe -DgroupId=org.liquibase -DartifactId=liquibase-maven-plugin -Dversion=2.0.1 -Dfull=true
release:
mvn versions:set -DnewVersion=${NEW_VERSION}
git commit -am "[release] ${NEW_VERSION}"
git tag ${NEW_VERSION}
echo "If everything is OK, you can push with tags i.e. git push origin master --tags"
docker: $(DIST_TARGET)
docker build -t icij/datashare:$(VERSION) $(DIST_TARGET)
unit:
mvn test
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...