mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-07 05:32:26 -04:00
improve codegen experience
This commit is contained in:
parent
6de8ed6c6e
commit
5824929075
3 changed files with 11 additions and 2 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -32,6 +32,15 @@ migrate_working_dir/
|
||||||
.pub/
|
.pub/
|
||||||
/build/
|
/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
|
# Symbolication related
|
||||||
app.*.symbols
|
app.*.symbols
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
dart run build_runner build
|
dart run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
pushd lib
|
pushd lib
|
||||||
protoc --dart_out=proto -I veilid_support\proto -I veilid_support\dht_support\proto -I proto veilidchat.proto
|
protoc --dart_out=proto -I veilid_support\proto -I veilid_support\dht_support\proto -I proto veilidchat.proto
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
dart run build_runner build
|
dart run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
pushd lib > /dev/null
|
pushd lib > /dev/null
|
||||||
protoc --dart_out=proto -I veilid_support/proto -I veilid_support/dht_support/proto -I proto veilidchat.proto
|
protoc --dart_out=proto -I veilid_support/proto -I veilid_support/dht_support/proto -I proto veilidchat.proto
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue