-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
82 lines (64 loc) · 1.72 KB
/
Makefile
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Without FVM
gen:
@echo "Running build runner"
@flutter pub run build_runner build --delete-conflicting-outputs
init:
@echo "Getting latest dependencies"
@flutter pub get
@echo "Running build runner"
@flutter pub run build_runner build --delete-conflicting-outputs
@echo "Generating automated localizations"
@flutter gen-l10n
get:
@echo "Getting latest dependencies"
@flutter pub get
upgrade:
@echo "Upgrading dependencies"
@flutter pub upgrade
upgrademajor:
@echo "Upgrading dependencies --major-versions"
@flutter pub upgrade --major-versions
clean:
@echo "Cleaning the project"
@flutter clean
@make finit
format:
@echo "Formatting code"
@dart fix --apply
@dart format -l 120 --fix .
genicon:
@echo "Generating app icons"
@flutter pub run flutter_launcher_icons:main -f flutter_launcher_icons.yaml
ln:
@echo "Generating automated localizations"
@flutter gen-l10n
# With FVM
fgen:
@echo "Running build runner"
@fvm flutter pub run build_runner build --delete-conflicting-outputs
finit:
@echo "Getting latest dependencies"
@fvm flutter pub get
@echo "Running build runner"
@fvm flutter pub run build_runner build --delete-conflicting-outputs
@echo "Generating automated localizations"
@fvm flutter gen-l10n
fget:
@echo "Getting latest dependencies"
@fvm flutter pub get
fupgrade:
@echo "Upgrading dependencies"
@fvm flutter pub upgrade
fupgrademajor:
@echo "Upgrading dependencies --major-versions"
@fvm flutter pub upgrade --major-versions
fclean:
@echo "Cleaning the project"
@fvm flutter clean
@make finit
fgenicon:
@echo "Generating app icons"
@fvm flutter pub run flutter_launcher_icons:main -f flutter_launcher_icons.yaml
fln:
@echo "Generating automated localizations"
@fvm flutter gen-l10n