-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (25 loc) · 837 Bytes
/
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
-include *.mk
.PHONY: clean format get upgrade outdated codegen test coverage pana deploy
clean:
@rm -rf coverage pubspec.lock .packages .dart_tool
format:
@dart fix --apply .
@dart format -l 80 --fix .
get:
@dart pub get
upgrade: get
@dart pub upgrade
outdated:
@dart pub outdated --transitive --show-all --dev-dependencies --dependency-overrides
#codegen: get
# @dart run build_runner build --delete-conflicting-outputs --release
# @dart format -l 80 --fix .
test:
@dart test --concurrency=6 --platform vm --coverage=coverage test/*
coverage: test
@dart run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.packages --report-on=lib
@genhtml -o coverage coverage/lcov.info
pana:
@dart pub global activate pana && pana --json --no-warning --line-length 80
deploy:
@dart pub publish