-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
48 lines (36 loc) · 1.07 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
watch: get task/.packages
flutter analyze --watch
analyze: get
cd taskc && dart analyze
cd taskj && dart analyze
cd taskw && dart analyze
get: taskc/pubspec.lock taskj/pubspec.lock taskw/pubspec.lock
get-offline:
dart pub get --offline -C taskc
dart pub get --offline -C taskj
dart pub get --offline -C taskw
taskc/pubspec.lock:
cd taskc && dart pub get
taskj/pubspec.lock:
cd taskj && dart pub get
taskw/pubspec.lock:
cd taskw && dart pub get
task/.packages:
cd task && dart pub get
docs: get
cd taskw && dart doc .
cd taskc && dart doc .
cd taskj && dart doc .
format:
dart format --fix --output none --set-exit-if-changed --summary none taskc
dart format --fix --output none --set-exit-if-changed --summary none `find taskj -name '*.dart' ! -name '*.g.dart'`
dart format --fix --output none --set-exit-if-changed --summary none taskw
install:
dart pub global activate -spath taskc
test: get
cd taskj && dart test
cd taskc && dart test -j 1
cd taskw && dart test
built_value:
cd taskc && dart run build_runner build
cd taskj && dart run build_runner build