forked from swojdakowskiDoR/arb_excel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
47 lines (34 loc) · 799 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
37
38
39
40
41
42
43
44
45
46
47
#
# arb_sheet
#
.DEFAULT_GOAL := run
.PHONY: doc test build
# # Git
# gitBranch := $(shell git rev-parse --abbrev-ref HEAD)
# gitCommit := $(shell git rev-parse --short HEAD)
clean:
@git clean -fdx
log:
@git log --abbrev-commit
fmt:
@dart format --fix .
lint:
@dart analyze
doc:
@dart pub global run dartdoc
assets:
@dart run lib/src/packer.dart
@make -s fmt
run: assets
@dart run bin/arb_excel.dart -n example/test.xlsx
@dart run bin/arb_excel.dart -a example/test.xlsx
build: assets
@mkdir -p build
@dart compile exe bin/arb_excel.dart -o build/arb_excel
@dart compile aot-snapshot bin/arb_excel.dart -o build/arb_excel.aot
active: assets
@dart pub global activate --source path .
publish-test: build
@dart pub publish --dry-run
publish: publish-test
@dart pub publish