A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
458 B

3 years ago
#!/bin/bash
set -euxo pipefail
cd "$(dirname "$0")/.."
(
cd packages/nextcloud
rm -rf .dart_tool/build
fvm dart run nextcloud:generate_props
fvm dart pub run build_runner build --delete-conflicting-outputs
fvm dart run nextcloud:generate_exports
# For some reason we need to fix and format twice, otherwise not everything gets fixed
fvm dart fix --apply lib/src/api/
melos run format
fvm dart fix --apply lib/src/api/
melos run format
)