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

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

all: scorshd

deps:
	go get 'github.com/fsnotify/fsnotify'
	go get 'github.com/libgit2/git2go'
	go get 'github.com/go-yaml/yaml'
	go get 'golang.org/x/crypto/openpgp'

scorshd: $(SERVER_SOURCES)
	$(BUILD) scorshd.go types.go config.go spooler.go commits.go workers.go

clean:
	rm scorshd