improve codegen experience

This commit is contained in:
John Smith 2023-10-10 10:42:00 -04:00
parent 6de8ed6c6e
commit 5824929075
3 changed files with 11 additions and 2 deletions

9
.gitignore vendored
View File

@ -32,6 +32,15 @@ migrate_working_dir/
.pub/
/build/
# Flutter generated files
# Not doing this at this time: https://stackoverflow.com/questions/56110386/should-i-commit-generated-code-in-flutter-dart-to-vcs
# *.g.dart
# *.freezed.dart
# *.pb.dart
# *.pbenum.dart
# *.pbjson.dart
# *.pbserver.dart
# Symbolication related
app.*.symbols

View File

@ -1,5 +1,5 @@
@echo off
dart run build_runner build
dart run build_runner build --delete-conflicting-outputs
pushd lib
protoc --dart_out=proto -I veilid_support\proto -I veilid_support\dht_support\proto -I proto veilidchat.proto

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -e
dart run build_runner build
dart run build_runner build --delete-conflicting-outputs
pushd lib > /dev/null
protoc --dart_out=proto -I veilid_support/proto -I veilid_support/dht_support/proto -I proto veilidchat.proto