diff --git a/.pubignore b/.pubignore index 75a774c0..613b625b 100644 --- a/.pubignore +++ b/.pubignore @@ -1,6 +1,6 @@ # For local development pubspec_overrides.yaml -pubspec_overrides.yaml.g +pubspec_overrides.yaml.disabled # Github .github/ diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md index 8f2d1740..3f0226b3 100644 --- a/doc/CONTRIBUTING.md +++ b/doc/CONTRIBUTING.md @@ -26,10 +26,10 @@ You will need a GitHub account as well as Git installed and configured with your ``` The `your-branch-name` is your choice 6. Make your changes -7. If you are working on changes that depend on different libraries in the same repo, then in that directory copy `pubspec_overrides.yaml.g` which exists in all the libraries (`flutter_quill_test` and `flutter_quill_extensions` etc..) +7. If you are working on changes that depend on different libraries in the same repo, then in that directory copy `pubspec_overrides.yaml.disabled` which exists in all the libraries (`flutter_quill_test` and `flutter_quill_extensions` etc..) to `pubspec_overrides.yaml` which will be ignored by `.gitignore` and will be used by dart pub to override the libraries ``` - cp pubspec_overrides.yaml.g pubspec_overrides.yaml + cp pubspec_overrides.yaml.disabled pubspec_overrides.yaml ``` or save some time with the following script: ``` diff --git a/flutter_quill_extensions/.pubignore b/flutter_quill_extensions/.pubignore index 92959320..757d78e3 100644 --- a/flutter_quill_extensions/.pubignore +++ b/flutter_quill_extensions/.pubignore @@ -1,3 +1,3 @@ # For local development pubspec_overrides.yaml -pubspec_overrides.yaml.g \ No newline at end of file +pubspec_overrides.yaml.disabled \ No newline at end of file diff --git a/flutter_quill_extensions/pubspec_overrides.yaml.g b/flutter_quill_extensions/pubspec_overrides.yaml.disabled similarity index 100% rename from flutter_quill_extensions/pubspec_overrides.yaml.g rename to flutter_quill_extensions/pubspec_overrides.yaml.disabled diff --git a/flutter_quill_test/.pubignore b/flutter_quill_test/.pubignore index 92959320..757d78e3 100644 --- a/flutter_quill_test/.pubignore +++ b/flutter_quill_test/.pubignore @@ -1,3 +1,3 @@ # For local development pubspec_overrides.yaml -pubspec_overrides.yaml.g \ No newline at end of file +pubspec_overrides.yaml.disabled \ No newline at end of file diff --git a/flutter_quill_test/pubspec_overrides.yaml.g b/flutter_quill_test/pubspec_overrides.yaml.disabled similarity index 100% rename from flutter_quill_test/pubspec_overrides.yaml.g rename to flutter_quill_test/pubspec_overrides.yaml.disabled diff --git a/packages/quill_html_converter/pubspec_overrides.yaml.g b/packages/quill_html_converter/pubspec_overrides.yaml.disabled similarity index 100% rename from packages/quill_html_converter/pubspec_overrides.yaml.g rename to packages/quill_html_converter/pubspec_overrides.yaml.disabled diff --git a/pubspec_overrides.yaml.g b/pubspec_overrides.yaml.disabled similarity index 100% rename from pubspec_overrides.yaml.g rename to pubspec_overrides.yaml.disabled diff --git a/scripts/enable_local_dev.sh b/scripts/enable_local_dev.sh index 3adbefe6..603465bc 100755 --- a/scripts/enable_local_dev.sh +++ b/scripts/enable_local_dev.sh @@ -5,22 +5,22 @@ echo "" echo "Enable local development for flutter_quill..." -cp pubspec_overrides.yaml.g pubspec_overrides.yaml +cp pubspec_overrides.yaml.disabled pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_extensions..." -cp flutter_quill_extensions/pubspec_overrides.yaml.g flutter_quill_extensions/pubspec_overrides.yaml +cp flutter_quill_extensions/pubspec_overrides.yaml.disabled flutter_quill_extensions/pubspec_overrides.yaml echo "" echo "Enable local development for flutter_quill_test..." -cp flutter_quill_test/pubspec_overrides.yaml.g flutter_quill_test/pubspec_overrides.yaml +cp flutter_quill_test/pubspec_overrides.yaml.disabled flutter_quill_test/pubspec_overrides.yaml echo "" echo "Enable local development for all the other packages..." -cp packages/quill_html_converter/pubspec_overrides.yaml.g packages/quill_html_converter/pubspec_overrides.yaml +cp packages/quill_html_converter/pubspec_overrides.yaml.disabled packages/quill_html_converter/pubspec_overrides.yaml echo ""