forked from susatthi/github-search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (38 loc) · 953 Bytes
/
Makefile
File metadata and controls
51 lines (38 loc) · 953 Bytes
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
FVM := $(shell which fvm)
FLUTTER := $(FVM) flutter
### Flutter Commands
.PHONY: get-dependencies
get-dependencies:
$(FLUTTER) pub get
.PHONY: clean
clean:
$(FLUTTER) clean
.PHONY: build-runner
build-runner:
$(FLUTTER) packages pub run build_runner build --delete-conflicting-outputs
### Test Commands
.PHONY: test-en
test-en:
sh bin/flutter_test
.PHONY: test-ja
test-ja:
sh bin/flutter_test ja
.PHONY: update-goldens
update-goldens:
$(FLUTTER) test --update-goldens --tags=golden
$(FLUTTER) test --update-goldens --tags=golden --dart-define=locale=ja
.PHONY: riverpod-graph
riverpod-graph:
$(FVM) dart bin/src/riverpod_graph.dart
.PHONY: dartdoc
dartdoc:
rm -rf doc/api
dartdoc
open doc/api/index.html
### Package Commands
.PHONY: flutter-native-splash
flutter-native-splash:
$(FLUTTER) pub run flutter_native_splash:create
.PHONY: flutter-launcher-icons
flutter-launcher-icons:
$(FLUTTER) pub run flutter_launcher_icons:main