mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 04:21:08 +00:00
Make planetiler-openmaptiles runnable as a standalone project (#19)
This commit is contained in:
20
scripts/regenerate-openmaptiles.sh
Executable file
20
scripts/regenerate-openmaptiles.sh
Executable 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
|
||||
Reference in New Issue
Block a user