2024-10-21 06:58:22 +00:00
|
|
|
scripts:
|
2024-10-28 05:54:30 +00:00
|
|
|
_: &create_scripts
|
2024-10-21 06:58:22 +00:00
|
|
|
clean:
|
|
|
|
run: >
|
|
|
|
melos exec -c 1 --fail-fast -- "
|
|
|
|
rm -rf build .dart_tool .packages .flutter-plugins .flutter-plugins-dependencies .pub-cache .pub .idea coverage doc/api .test_coverage.dart .test_runner.dart &&
|
|
|
|
find . -name '*.g.dart' -delete &&
|
|
|
|
find . -name '*.freezed.dart' -delete &&
|
|
|
|
find . -name '*.mocks.dart' -delete &&
|
|
|
|
find . -name '*.gr.dart' -delete &&
|
|
|
|
find . -name '*.config.dart' -delete &&
|
|
|
|
find . -name '*.hive.dart' -delete &&
|
|
|
|
find . -name '*.chopper.dart' -delete &&
|
|
|
|
find . -name '*.reflectable.dart' -delete &&
|
|
|
|
find . -name '*.injectable.dart' -delete &&
|
|
|
|
find . -name '*.gql.dart' -delete &&
|
|
|
|
find . -name '*.gql.g.dart' -delete &&
|
|
|
|
find . -name '*.iconfig.dart' -delete &&
|
|
|
|
find . -name '*.moor.dart' -delete &&
|
|
|
|
find . -name '*.drift.dart' -delete &&
|
|
|
|
find . -name '*.mapper.dart' -delete &&
|
|
|
|
find . -name '*.ast.gql.dart' -delete &&
|
|
|
|
find . -name '*.req.gql.dart' -delete &&
|
|
|
|
find . -name '*.data.gql.dart' -delete &&
|
|
|
|
find . -name '*.var.gql.dart' -delete &&
|
|
|
|
find . -name '*.jorm.dart' -delete &&
|
|
|
|
find . -name '*.g.aot' -delete &&
|
|
|
|
find . -name '*.g.ddc' -delete &&
|
|
|
|
find . -name '*.g.js' -delete &&
|
|
|
|
find . -name '*.g.js.map' -delete &&
|
|
|
|
find . -name '*.g.part' -delete &&
|
|
|
|
find . -name '*.g.sum' -delete &&
|
|
|
|
find . -name '*.g.txt' -delete &&
|
|
|
|
find . -name 'lcov.info' -delete &&
|
|
|
|
find . -name 'coverage_report' -type d -exec rm -r {} + &&
|
|
|
|
git clean -xdf
|
|
|
|
" &&
|
|
|
|
flutter clean
|
|
|
|
description: Thoroughly clean all build artifacts, generated files, coverage reports, and documentation from the entire repository
|