pogo/Makefile

21 lines
591 B
Makefile
Raw Normal View History

all:
go build src/webserver.go src/admin.go src/generate_rss.go
windows: src/admin.go src/webserver.go src/generate_rss.go
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
linux: src/admin.go src/webserver.go src/generate_rss.go
go build -o whiterabbit src/webserver.go src/admin.go src/generate_rss.go
install:
go get github.com/gmemstr/feeds
go get github.com/fsnotify/fsnotify
go get github.com/spf13/viper
go get github.com/gorilla/mux
docker:
2017-09-07 04:02:59 +01:00
docker build .
and run:
go build src/webserver.go src/admin.go src/generate_rss.go
./webserver.exe