blob: baef138ffa93b1710470d96e4d7ad809d2b0d3da (
plain) (
tree)
|
|
SOURCES = $(wildcard *.go) $(wildcard */*.go)
BINARIES = nekoweb nekocrawl
DEPS = github.com/SlyMarbo/rss github.com/abbot/go-http-auth github.com/axgle/mahonia github.com/go-sql-driver/mysql github.com/microcosm-cc/bluemonday
default: $(BINARIES)
$(BINARIES): $(SOURCES)
go build
go build cmd/nekoweb.go
go build cmd/nekocrawl.go
.PHONY: deps run
.PHONY: run
deps:
go get $(DEPS)
run:
./nekoweb config.json
|