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.

16 lines
416 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
# 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
)