diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-15 22:13:31 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-15 22:13:31 +0100 |
| commit | cb712dc2a9f3d4ce0cf94fded321de4138f063d9 (patch) | |
| tree | 4610ffe4862bd36010b9780483267ea9f7a2205a /Taskfile.yml | |
| parent | 889e1ccfdd54d3e68982b9c48d0e324750fce002 (diff) | |
Remove renfe RT proxying, add Xunta feed, update script
Diffstat (limited to 'Taskfile.yml')
| -rw-r--r-- | Taskfile.yml | 12 |
1 files changed, 5 insertions, 7 deletions
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)" |
