focalboard/Makefile

31 lines
580 B
Makefile
Raw Normal View History

.PHONY: prebuild clean cleanall server server-linux generate watch-server
2020-10-08 18:21:27 +02:00
all: server
2020-10-08 18:21:27 +02:00
prebuild:
go get github.com/gorilla/mux
go get github.com/gorilla/websocket
go get github.com/spf13/viper
go get github.com/lib/pq
go get github.com/mattn/go-sqlite3
2020-10-08 18:21:27 +02:00
server:
cd server; go build -o ../bin/octoserver ./main
2020-10-08 18:21:27 +02:00
server-linux:
cd server; env GOOS=linux GOARCH=amd64 go build -o ../bin/octoserver ./main
generate:
cd server; go generate ./...
2020-10-16 19:20:43 +02:00
watch-server:
cd server; modd
2020-10-08 18:21:27 +02:00
clean:
rm -rf bin
rm -rf dist
rm -rf webapp/pack
2020-10-08 18:21:27 +02:00
cleanall: clean
rm -rf webapp/node_modules