aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
commit93d6d36eb697cd9452eb4aab446151a1a33ed245 (patch)
treec9cb88718d03a6964f6d3705066f11d356257d37 /Makefile
downloadneko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.gz
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.bz2
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.zip
neko v2 initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..baef138
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+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