aboutsummaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml22
1 files changed, 14 insertions, 8 deletions
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: