Skip to content

Commit

Permalink
chore: remove unused odm scripts and references (firebase#12532)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA authored and LocLt-Mobile committed Apr 5, 2024
1 parent 1eaba03 commit 9d1051a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 59 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
- 'website/**'
- '**/example/**'
- '**/flutterfire_ui/**'
- '**/cloud_firestore_odm/**'
- '**.md'
push:
branches:
Expand All @@ -21,7 +20,6 @@ on:
- 'website/**'
- '**/example/**'
- '**/flutterfire_ui/**'
- '**/cloud_firestore_odm/**'
- '**.md'

jobs:
Expand Down
52 changes: 0 additions & 52 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ scripts:
- test
ignore:
- '*web*'
- '*odm*'
- '*example*'

test:web:
Expand Down Expand Up @@ -235,57 +234,6 @@ scripts:
dirExists: 'android'
description: Transform the method toList() into a public one to be used in EventChannel

odm:test:
run: |
melos run odm:test:dart &&
melos run odm:test:flutter
description: Run all tests for the ODM.

odm:test:dart:
run: |
melos exec -- \
"dart test"
description: Run Dart tests for the ODM.
packageFilters:
dirExists: 'test'
dependsOn: 'test'
scope: '*odm*'

odm:test:flutter:
run: |
melos exec -- \
"flutter test"
description: Run Flutter tests for the ODM.
packageFilters:
dirExists: 'test'
noDependsOn: 'test'
scope: '*odm*'

odm:example_build_runner:build:
run: |
melos exec -- \
"flutter pub run build_runner build --delete-conflicting-outputs"
description: Run a build_runner build in the ODM example app.
packageFilters:
scope: '*odm_example*'

odm:generator_test_build_runner:build:
run: |
melos exec -c 1 -- \
"dart pub get && flutter pub run build_runner build --delete-conflicting-outputs"
description: Run a build_runner build generator test.
packageFilters:
scope:
- '*odm_generator_integration*'

odm:example_build_runner:watch:
run: |
melos exec -c 5 -- \
"flutter pub run build_runner watch --delete-conflicting-outputs"
description: Run build_runner watch in the ODM example app.
packageFilters:
scope: '*odm_example*'

# Additional cleanup lifecycle script, executed when `melos clean` is run.
postclean: >
melos exec -c 6 -- "flutter clean"
Expand Down
5 changes: 0 additions & 5 deletions website/firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,6 @@
"destination": "https://firebase.google.com/docs/storage/flutter/start",
"type": 301
},
{
"source": "/docs/firestore-odm/*",
"destination": "https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore_odm",
"type": 301
},
{
"source": "/docs/ui/**",
"destination": "https://github.com/firebase/flutterfire/tree/master/packages/flutterfire_ui",
Expand Down

0 comments on commit 9d1051a

Please sign in to comment.