From e030d6feff065b0f412d7e51684a0b6e6eca7fec Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Fri, 14 Nov 2025 13:37:05 +0100 Subject: Implement new stop schedule generation format using protobuf --- Taskfile.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'Taskfile.yml') diff --git a/Taskfile.yml b/Taskfile.yml index 983b05a..6cc0fce 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -11,15 +11,11 @@ tasks: cmds: - npm run dev --prefix src/frontend - format-backend: - desc: Format backend solution. + build-proto: + desc: Generates the protobuf bindings for C# and Python cmds: - - dotnet format --verbosity diagnostic - - format-frontend: - desc: Format frontend sources. - cmds: - - 'prettier --write src/frontend/**/*.{ts,tsx,css}' + - protoc --python_out=./src/gtfs_vigo_stops/src --pyi_out=./src/gtfs_vigo_stops/src --proto_path=./src/common ./src/common/stop_schedule.proto + - protoc --csharp_out=./src/Costasdev.Busurbano.Backend/Types/ --proto_path=./src/common ./src/common/stop_schedule.proto build-backend: desc: Publish backend in Release mode. @@ -33,6 +29,16 @@ tasks: - mkdir dist/frontend - mv src/frontend/build/client/ dist/frontend/ + format-backend: + desc: Format backend solution. + cmds: + - dotnet format --verbosity diagnostic + + format-frontend: + desc: Format frontend sources. + cmds: + - 'prettier --write src/frontend/**/*.{ts,tsx,css}' + gen-stop-report: desc: Generate stop-based JSON reports for specified dates or date ranges. cmds: -- cgit v1.3