-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (46 loc) · 1022 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
.PHONY: \
build \
dialyzer \
hex-pm-publish \
hex-pm-publish-doc \
hex-pm-publish-doc-private \
hex-pm-publish-private \
hex-pm-revert \
install-dependencies \
start-postgres \
test \
watch \
watch-docks
install-dependencies:
mix deps.get
build:
mix compile
mix docs
db-setup:
mix ecto.create
mix ecto.migrate
test:
mix docception README.md
mix test --cover
livebook:
mix escript.install hex livebook
livebook server
dialyzer:
mix dialyzer
watch:
watch "mix dialyzer && mix docs && mix test --cover"
watch-docs:
watch mix docs
hex-pm-publish:
mix hex.publish
hex-pm-publish-doc:
mix hex.publish docs
hex-pm-publish-private:
mix hex.publish --organization shipworthy
hex-pm-publish-doc-private:
mix hex.publish docs --organization shipworthy
hex-pm-revert:
mix hex.publish --revert $(PUBLISHED_VERSION)
start-postgres:
docker kill postgres-journey-test || true
docker run --rm --name postgres-journey-test -e "POSTGRES_PASSWORD=postgres" -p 5432:5432 -d postgres:13.3-buster