-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOrkfile.yml
54 lines (45 loc) · 1.05 KB
/
Orkfile.yml
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
default: test
tasks:
- name: setup
description: fetch the basic dependencies
actions:
- mix install
- name: deps
description: fetch the project dependencies
actions:
- mix deps.get
- npm install --prefix ./assets
- name: check.format
description: check the formatting
actions:
- mix format --check-formatted
- name: test
description: run all the tests
depends_on:
- check.format
expand_env: false
actions:
- bash -c "mix test --color || if [[ $? = 2 ]]; then mix test --color --failed; fi"
- name: verify
description: run dialyzer
actions:
- mix dialyzer
- name: run
description: run the dev server
actions:
- mix run
- name: docs
description: generate the docs
actions:
- mix docs
- name: build
description: build the project and the assets
actions:
- mix compile
- mix assets.build
- name: publish
description: publish the package to hex
depends_on:
- test
actions:
- mix hex.publish