summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9fa2a0058323d46f9270b97cafe0e10fd8f1397a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
BUILD=go build

SERVER_SOURCES=scorshd.go \
types.go \
config.go \
spooler.go \
commits.go \
workers.go \
exec.go

all: scorshd

deps:
	go get 'github.com/fsnotify/fsnotify'
	go get 'github.com/dyne/git2go.v26'
	go get 'gopkg.in/yaml.v2'
	go get 'golang.org/x/crypto/openpgp'

scorshd: $(SERVER_SOURCES)
	$(BUILD) $(SERVER_SOURCES)

clean:
	rm scorshd