-
Notifications
You must be signed in to change notification settings - Fork 46
/
modd.conf
48 lines (42 loc) · 995 Bytes
/
modd.conf
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
@shell = bash
_examples/settings/*.go {
prep: "
# build example workflow: settings
GO111MODULE=on go build -o ./_examples/settings/settings ./_examples/settings
"
}
_examples/fuzzy/*.go {
prep: "
# build example workflow: fuzzy
GO111MODULE=on go build -o ./_examples/fuzzy/fuzzy ./_examples/fuzzy
"
}
_examples/update/*.go {
prep: "
# build example workflow: update
GO111MODULE=on go build -o ./_examples/update/update ./_examples/update
"
}
_examples/reading-list/*.go {
prep: "
# build example workflow: reading-list
GO111MODULE=on go build -o ./_examples/reading-list/reading-list ./_examples/reading-list
"
}
_examples/workflows/*.go {
prep: "
# build example workflow: workflow search
GO111MODULE=on go build -o ./_examples/workflows/workflows ./_examples/workflows
"
}
# Run tests when any *.go or config file changes
env.sh
modd.conf
run-tests.sh
**/*.go
!_examples/** {
prep: "
# run unit tests
GO111MODULE=on ./run-tests.sh -tvic @dirmods
"
}