-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathderry.yaml
50 lines (50 loc) · 1.25 KB
/
derry.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
build_runner:
(description): Generate
(scripts):
- dart run build_runner build
# pregen is for flutter_gen and it will run before gen command. If don't run pub get, build will gives error.
pregen:
- flutter pub get
gen:
new:
(description): Generate
(scripts):
- $build_runner
clean:
(description): Clean generate
(scripts):
- $build_runner --delete-conflicting-outputs
splash:
(description): Create splash screen
(scripts):
- dart run flutter_native_splash:create --path=flutter_native_splash.yaml
icon:
(description): Create icon
(scripts):
- dart run flutter_launcher_icons:main -f flutter_launcher_icons.yaml
locale:
(description): Generate locales
(scripts):
- flutter gen-l10n
pub:
major:
(description): Upgrade packages to latest versions
(scripts):
- flutter pub upgrade --major-versions
git:
init:
(description): Initialize git and push to Github
(scripts):
- dart scripts/git_init.dart
push:
(description): Push to Github
(scripts):
- dart scripts/git_push.dart
origin:
(description): Set origin
(scripts):
- dart scripts/git_origin.dart
reset:
(description): Reset to commit reference
(scripts):
- dart scripts/git_reset.dart