From cb712dc2a9f3d4ce0cf94fded321de4138f063d9 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 15 Mar 2026 22:13:31 +0100 Subject: Remove renfe RT proxying, add Xunta feed, update script --- Taskfile.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Taskfile.yml') diff --git a/Taskfile.yml b/Taskfile.yml index e66e7da..80a34af 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -6,20 +6,18 @@ vars: OTP_JAR: otp-shaded-2.8.1.jar tasks: - download-otp: - desc: "Download the OpenTripPlanner JAR file" + setup: + desc: "Set up the project dependencies" cmds: - curl -L -o {{.OTP_JAR}} https://github.com/opentripplanner/OpenTripPlanner/releases/download/v2.8.1/otp-shaded-2.8.1.jar - - download-pbf: - desc: "Download a sample PBF file for building the graph" - cmds: - curl -sLo galicia-latest.osm.pbf https://download.geofabrik.de/europe/spain/galicia-latest.osm.pbf + - uv --directory build_xunta run ./gen_parroquias.py --pbf ../galicia-latest.osm.pbf download-xunta: desc: "Download Xunta de Galicia GTFS data (NAP MITRAMS)" cmds: - - "curl -H \"ApiKey: {{.NAP_API_KEY}}\" -sLo feeds/xunta.zip https://nap.transportes.gob.es/api/Fichero/download/1584" + - uv --directory build_xunta run ./build_static_feed.py {{.NAP_API_KEY}} + - cp build_xunta/gtfs_xunta.zip feeds/xunta.zip download-renfe: desc: "Download Renfe GTFS data (NAP MITRAMS)" -- cgit v1.3