diff --git a/.gitignore b/.gitignore index 05514a1..2e70534 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/build.bat b/build.bat index eca850b..0889dcf 100644 --- a/build.bat +++ b/build.bat @@ -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 diff --git a/build.sh b/build.sh index 6f58bf8..96cce52 100755 --- a/build.sh +++ b/build.sh @@ -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