pull/1/head
Mike Barry 2021-06-08 20:16:07 -04:00
rodzic 7f1fc2ad3a
commit eedcf7bcc7
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -4,7 +4,7 @@ set -o errexit
set -o pipefail
set -o nounset
JAR="target/flatmap-0.1-SNAPSHOT-jar-with-dependencies.jar"
JAR="openmaptiles/target/flatmap-openmaptiles-0.1-SNAPSHOT-jar-with-dependencies.jar"
echo "Downloading data..."
AREA="${1:-north-america_us_massachusetts}"
@ -13,11 +13,11 @@ AREA="${1:-north-america_us_massachusetts}"
if [ ! -f "$JAR" ]; then
echo "Building..."
mvn -DskipTests=true package
mvn -DskipTests=true --projects openmaptiles -am clean package
fi
echo "Running..."
java -Dinput="./data/sources/${AREA}.pbf" \
-Dforce=true \
-cp "$JAR" \
com.onthegomap.flatmap.OpenMapTilesMain
com.onthegomap.flatmap.openmaptiles.OpenMaptilesMain