-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.zsh
57 lines (46 loc) · 999 Bytes
/
project.zsh
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
package=yunoconfig
version=0.1
variables=(LUA_VERSION 5.1)
targets=(yunoconfig.moon)
type[yunoconfig.moon]="script"
sources[yunoconfig.moon]="yunoconfig.moon.in"
filename[yunoconfig.moon]="yunoconfig"
for i in yunoconfig/**/*.moon; do
targets+=($i)
type[$i]="script"
install[$i]='$(SHAREDIR)/lua/$(LUA_VERSION)/'"${i%/*}"
auto[$i]=true # Hidden from `make help`
done
for i in data/*.moon; do
targets+=($i)
type[$i]="script"
install[$i]='$(SHAREDIR)/yunoconfig'
auto[$i]=true # Hidden from `make help`
done
for i in data/templates/*.ept; do
targets+=($i)
type[$i]="script"
install[$i]='$(SHAREDIR)/yunoconfig/templates'
auto[$i]=true # Hidden from `make help`
done
for i in doc/*.[0-9].md; do
targets+=(${i%.md})
type[${i%.md}]="man"
sources[${i%.md}]="${i}"
done
tests=(
"busted"
)
dist=(
# Code
yunoconfig/**/*.moon
data/**/*.moon
data/templates/**/*.ept
# Build system.
project.zsh Makefile
# Documentation
README.md
# Tests
spec/**/*.moon
spec/data/*.conf
)