- Add proto files for backtest and market domains - Generate Go code in packages/contracts/gen/go - Generate Dart code in apps/client/lib/src/generated - Add contracts-gen and contracts-check binaries - Update pubspec.yaml with protoc dependencies - Update go.work with new module
18 lines
363 B
Bash
Executable file
18 lines
363 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
"$root/bin/contracts-check"
|
|
|
|
for module in \
|
|
"$root/packages/contracts/gen/go" \
|
|
"$root/packages/domain" \
|
|
"$root/services/api" \
|
|
"$root/services/worker" \
|
|
"$root/apps/cli"
|
|
do
|
|
(cd "$module" && go test ./...)
|
|
done
|
|
|
|
(cd "$root/apps/client" && flutter test)
|