forked from deanishe/awgo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modd.conf
49 lines (43 loc) · 999 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
49
@shell = bash
# Rebuild examples
_examples/bookmarks/*.go {
prep: "
# build example workflow: bookmarks
GO111MODULE=on go build -o ./_examples/bookmarks/bookmarks ./_examples/bookmarks
"
}
_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/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
"
}