Skip to content

🎧 Your Personal Streaming Service

Clean up Makefile

Deluan0388d67817eb
diff --git a/Makefile b/Makefile
index e689b1487..cfca578d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,7 @@
-BINARY=sonic-server
-
+.PHONY: build
build:
go build
-.PHONY: clean
-clean:
- rm -f ${BINARY}
-
.PHONY: setup
setup: jamstash
@which reflex || (echo "Installing Reflex" && GO111MODULE=off go get -u github.com/cespare/reflex)
@@ -20,17 +15,18 @@ run:
.PHONY: test
test:
- BEEGO_RUNMODE=test go test ./... -v
+ go test ./... -v
.PHONY: convey
convey:
- NOLOG=1 goconvey --port 9090 -excludedDirs static,devDb,wiki,bin,tests
+ NOLOG=1 goconvey --port 9090 -excludedDirs static,devDb,wiki,bin,tests,Jamstash-master
.PHONY: cloc
cloc:
# cloc can be installed using brew
- cloc --exclude-dir=devDb,.idea,.vscode,wiki,static --exclude-ext=iml,xml .
+ cloc --exclude-dir=devDb,.idea,.vscode,wiki,static,Jamstash-master --exclude-ext=iml,xml .
+.PHONY: jamstash
jamstash:
wget -N https://github.com/tsquillario/Jamstash/archive/master.zip
unzip -o master.zip