download from quickstart (#93)

pull/95/head
Michael Barry 2022-02-24 21:21:19 -05:00 zatwierdzone przez GitHub
rodzic 0f2c2e9c76
commit 714c636e12
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -3,10 +3,14 @@
set -e
AREA="${1:-monaco}"
shift || echo "using area=monaco"
shift || echo ""
echo "Will build planetiler, download sources for ${AREA}, and make a map."
echo "This requires at least 1GB of disk space. Press Ctrl+C to exit..."
sleep 5
echo "Building..."
./mvnw -DskipTests=true --projects planetiler-dist -am package
echo "Running..."
java -jar planetiler-dist/target/*with-deps.jar --force=true --area="${AREA}" $*
java -jar planetiler-dist/target/*with-deps.jar --force --download --area="${AREA}" $*