mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
16 lines
370 B
Makefile
16 lines
370 B
Makefile
SHELL := /bin/bash
|
|
|
|
options:
|
|
echo "you can clean | test | build | build-arch | package"
|
|
clean:
|
|
rm -fv bin/contentserve*
|
|
build: clean
|
|
go build -o bin/contentserver
|
|
build-arch: clean
|
|
GOOS=linux GOARCH=amd64 go build -o bin/contentserver-linux-amd64
|
|
GOOS=darwin GOARCH=amd64 go build -o bin/contentserver-darwin-amd64
|
|
package: build
|
|
pkg/build.sh
|
|
test:
|
|
go test ./...
|