Revision cb0a62c2faab1e3e57c019abf240daa8fe3065f4 authored by Bruno Thomas on 19 April 2022, 16:07:49 UTC, committed by Bruno Thomas on 19 April 2022, 16:08:04 UTC
Co-authored-by: Caroline Desprat <caro3801@users.noreply.github.com>
1 parent 9bd9d93
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 ...