Skip to content
Snippets Groups Projects
Commit df36e5af authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Merge branch 'zacharysabourin/master/22' into 'master'

feat: Update build process

Closes #22

See merge request !29
parents 744d12c7 f002caf5
No related branches found
No related tags found
1 merge request!29feat: Update build process
Pipeline #10068 failed
SHELL = /bin/bash
pre-setup:;
@echo "Creating environment file from template"
@rm -f .env && envsubst < config/.env.sample > .env
dev-start:;
mvn compile quarkus:dev
clean:;
rm -rf ./maxmind
mvn clean
install: clean;
yarn install --frozen-lockfile
sh ./bin/maxmind.sh maxmind/
package: install;
mvn compile package
dirty-package:;
mvn compile package -Declipse.maxmind.root=${PWD}/maxmind
production-build:;
yarn install --frozen-lockfile
generate-spec: validate-spec;
yarn run generate-json-schema
install-yarn:;
yarn install --frozen-lockfile
@source .env && bash ./bin/maxmind.sh maxmind/
validate-spec: install-yarn;
compile-java: generate-spec;
mvn compile package -Declipse.maxmind.root=${PWD}/maxmind
headless-docker: package;
docker-compose down
docker-compose build
docker-compose up -d
\ No newline at end of file
compile-java-quick: generate-spec;
mvn compile package -Dmaven.test.skip=true -Declipse.maxmind.root=${PWD}/maxmind
compile: clean compile-java;
compile-quick: clean compile-java-quick;
compile-start: compile-quick;
docker compose down
docker compose build
docker compose up -d
\ No newline at end of file
MAXMIND_LICENSE_KEY=sample
\ No newline at end of file
export MAXMIND_LICENSE_KEY=sample
\ No newline at end of file
......@@ -15,4 +15,4 @@ maxmind.database.city.file=GeoLite2-City.mmdb
%dev.quarkus.http.port=8090
%dev.eclipse.maxmind.root=/home/martin/localdev/eclipsefdn-webdev-toolkit/projects-java/geoip-rest-api/maxmind
\ No newline at end of file
%dev.eclipse.maxmind.root=${PWD}/maxmind
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment