Files
dart_script_runner/example/pubspec.example.yaml
2022-08-07 13:45:43 +03:00

13 lines
293 B
YAML

# add a config to your pubspec.yaml
script_runner:
shell: /bin/zsh
scripts:
- test: dart test
- lint-fix: dart fix --apply
- name: build:apk
cmd: flutter build apk
- name: build:ipa
cmd: flutter build ipa
- name: build:all
cmd: build:apk && build:ipa