-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
61 lines (42 loc) · 787 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/make -ef
VERSION ?= $(shell cat mix.exs | grep version | sed -e 's/.*version: "\(.*\)",/\1/')
all: deps format compile
commited: templates
./.check.uncommited
compile: deps
mix compile
deps:
mix deps.get
dialyzer:
mix dialyzer
doc:
mix docs
xdg-open doc/index.html
cover:
mix coveralls.html
xdg-open cover/excoveralls.html
format: deps
mix format
map:
mix xref graph --format dot
dot -Tpng xref_graph.dot -o xref_graph.png
eog xref_graph.png
mix: all
iex -S mix
proper: distclean compile test
push: all commited test
git pull
git push
release: tag
mix hex.publish
git push --tags
tag:
git tag $(VERSION)
test: deps dialyzer
mix test
distclean: clean
rm -rf _build deps mix.lock
clean:
rm -rf cover
rm -rf doc
.PHONY: compile docs test