mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 04:21:08 +00:00
21 lines
426 B
Bash
Executable File
21 lines
426 B
Bash
Executable File
#!/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
|