Make planetiler-openmaptiles runnable as a standalone project (#19)

This commit is contained in:
Michael Barry
2022-08-02 07:07:41 -04:00
committed by GitHub
parent 62d420811b
commit 0d7cd887ce
75 changed files with 2560 additions and 454 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o nounset
TAG="${1:-"v3.13.1"}"
echo "tag=${TAG}"
BASE_URL="${2:-"https://raw.githubusercontent.com/openmaptiles/openmaptiles/"}"
echo "base-url=${BASE_URL}"
echo "Building..."
./mvnw -DskipTests=true package
echo "Running..."
java -cp target/*-with-deps.jar org.openmaptiles.Generate -tag="${TAG}" -base-url="${BASE_URL}"
echo "Formatting..."
./scripts/format.sh