gonuit / rps

Define and use scripts from your pubspec.yaml file.
MIT License
44 stars 8 forks source link

Missing script error #2

Closed jibbers42 closed 2 years ago

jibbers42 commented 2 years ago

The readme shows script labels intended after run:

scripts:
   # run is a default script. To use it, simply type
   # in the command line: "rps" - that's all!
   run: "flutter run -t lib/main_development.dart --flavor development"
      # you can define more commands like this: "rps gen"
      gen: "flutter pub run build_runner watch --delete-conflicting-outputs"

but this results in a missing script error.

Being not super familiar with yaml syntax I didn't see the problem and couldn't figure it out until I noticed in this project's pubspec.yaml, the test: label is not indented beyond run:.

gonuit commented 2 years ago

Hi @jibbers42, yes there is a formatting problem. I updated the readme.