From d67282336d99577f89899ea76f2c1aaf7d56ad66 Mon Sep 17 00:00:00 2001 From: Ray Lyon Date: Mon, 16 Jan 2023 15:18:54 -0500 Subject: [PATCH] remove build step and rename --- build.sh => update_stations_files.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) rename build.sh => update_stations_files.sh (81%) diff --git a/build.sh b/update_stations_files.sh similarity index 81% rename from build.sh rename to update_stations_files.sh index 03499f4..d74932e 100644 --- a/build.sh +++ b/update_stations_files.sh @@ -1,6 +1,5 @@ #!/usr/bin/env bash -MTAPI_URL="https://github.com/jonthornton/MTAPI.git" SUBWAY_DATA_URL="http://web.mta.info/developers/data/nyct/subway/google_transit.zip" # Create tmp directory @@ -24,12 +23,5 @@ curl -o tmp/subway.zip "$SUBWAY_DATA_URL" unzip -d tmp/subway-data -o tmp/subway.zip # Create the stations data files -echo "stations csv" python tmp/MTAPI/scripts/make_stations_csv.py tmp/subway-data/stops.txt tmp/subway-data/transfers.txt > data/stations.csv -echo "stations json" -python tmp/MTAPI/scripts/make_stations_json.py data/stations.csv > data/stations.json -echo "done" - -# Build the container -podman build . - +python tmp/MTAPI/scripts/make_stations_json.py data/stations.csv > data/stations.json \ No newline at end of file