Open alestiago opened 2 months ago
Description
Running:
very_good packages get -r --ignore example
Gets dependencies on the example directory.
Steps To Reproduce
dart pub global activate very_good_cli
very_good create flutter_package my_package
my_package
flutter create example --platforms web
my_package/example
flutter clean && rm -rf pubspec.lock
Observe that build/, .dart_tool/ and pubspec.lock within examples are no longer existent.
build/
.dart_tool/
pubspec.lock
The logger only notifies:
✓ Running "flutter pub get" in . (1.9s)
Expected Behavior There is no pub get on the example directory when provided through ignore.
pub get
ignore
Additional Context There is a hidden --no-example command that might be applicable.
--no-example
Description
Running:
Gets dependencies on the example directory.
Steps To Reproduce
my_package
(from my_package):my_package/example
(from my_package/example):Observe that
build/
,.dart_tool/
andpubspec.lock
within examples are no longer existent.my_package/example
has nowbuild/
,.dart_tool/
andpubspec.lock
within the example directory meaning the tool run a pub get.The logger only notifies:
Expected Behavior There is no
pub get
on the example directory when provided throughignore
.Additional Context There is a hidden
--no-example
command that might be applicable.