4 changed files with 28 additions and 8 deletions
@ -0,0 +1,13 @@
|
||||
#!/bin/bash |
||||
set -euxo pipefail |
||||
|
||||
( |
||||
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 |
||||
) |
@ -0,0 +1,13 @@
|
||||
import 'package:build_verify/build_verify.dart'; |
||||
import 'package:test/test.dart'; |
||||
|
||||
void main() { |
||||
test( |
||||
'ensure_build', |
||||
() async => expectBuildClean( |
||||
packageRelativeDirectory: 'packages/nextcloud', |
||||
customCommand: ['bash', 'generate.sh'], |
||||
), |
||||
tags: 'source_verification', |
||||
); |
||||
} |
Loading…
Reference in new issue