-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathMakefile
71 lines (56 loc) · 1.19 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
FLUTTER := $(shell which flutter)
FLUTTER_DIR := $(FLUTTER_BIN_DIR:/bin=)
DART := $(FLUTTER_BIN_DIR)/cache/dart-sdk/bin/dart
# # Obtain your API_KEY at https://localise.biz
# LOCALISE_KEY := ''
#
# SENTRY_AUTH_TOKEN := ''
MAX_LINE_LENGTH := 120
.PHONY: icon
icon:
$(FLUTTER) pub run flutter_launcher_icons:main
.PHONY: splash
splash:
$(FLUTTER) pub run flutter_native_splash:create
.PHONY: analyze
analyze:
$(FLUTTER) analyze
.PHONY: format
format:
$(FLUTTER) format -l $(MAX_LINE_LENGTH) .
.PHONY: test
test:
$(FLUTTER) test
.PHONY: b-r
b-r:
$(FLUTTER) packages pub run build_runner build --delete-conflicting-outputs
.PHONY: clean
clean:
$(FLUTTER) clean
$(FLUTTER) pub get
.PHONY: cleanf
cleanf:
$(FLUTTER) clean
$(FLUTTER) pub get
$(FLUTTER) packages pub run build_runner build --delete-conflicting-outputs
.PHONY: i-clean
i-clean:
$(FLUTTER) clean
$(FLUTTER) pub get
cd ios
pod update
cd ..
.PHONY: cocoa-pods-update
coco:
cd ios
sudo gem install cocoapods
pod update
.PHONY: watch
watch:
$(FLUTTER) packages pub run build_runner watch --delete-conflicting-outputs
.PHONY: l10n
l10n:
$(FLUTTER) gen-l10n
.PHONY: l10n-sync
l10n-sync:
./scripts/update-l10n.sh $(LOCALISE_KEY)