rps 0.10.1
rps: ^0.10.1 copied to clipboard
rps (Run Pubspec Script) allows you to define and run scripts from pubspec.yaml.
RPS Example #
Define scripts in your pubspec.yaml:
scripts:
gen: flutter pub run build_runner build --delete-conflicting-outputs
build:
web:
$script: flutter build web --flavor production -t lib/main.dart
$description: Builds a web application
android:
$script: flutter build apk --flavor production -t lib/main.dart
$description: Builds an Android app
Then run them with:
rps gen
rps build web
rps ls
See the README for full documentation.
