feat: Update build

This commit is contained in:
Anton Stubenbord
2023-10-25 19:02:07 +02:00
parent b1435ba583
commit 1842309363
5 changed files with 36 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -Eeuo pipefail
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
readonly __script_dir
pushd "$__script_dir/../"
pushd packages/paperless_api
flutter/bin/flutter packages pub get
flutter/bin/dart run build_runner build --delete-conflicting-outputs
popd
pushd packages/mock_server
flutter/bin/flutter packages pub get
popd
flutter/bin/flutter packages pub get
flutter/bin/flutter gen-l10n
flutter/bin/dart run build_runner build --delete-conflicting-outputs
popd