1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/Makefile
2020-10-08 09:21:27 -07:00

37 lines
467 B
Makefile

.PHONY: prebuild clean cleanall pack packdev builddev build watch go goUbuntu
all: build
GOMAIN = ./server/main
GOBIN = ./bin/octoserver
pack:
npm run pack
packdev:
npm run packdev
go:
go build -o $(GOBIN) $(GOMAIN)
goUbuntu:
env GOOS=linux GOARCH=amd64 go build -o $(GOBIN) $(GOMAIN)
builddev: packdev go
build: pack go
watch:
npm run watchdev
prebuild:
npm install
clean:
rm -rf bin
rm -rf dist
rm -rf pack
cleanall: clean
rm -rf node_modules