From 33aaaec672d13a2705675ad9e10c2972fcc27517 Mon Sep 17 00:00:00 2001 From: sneak Date: Tue, 8 Sep 2020 15:29:37 -0700 Subject: [PATCH] rename cmd --- Makefile | 5 ++++- cmd/{bot => sco}/main.go | 0 2 files changed, 4 insertions(+), 1 deletion(-) rename cmd/{bot => sco}/main.go (100%) diff --git a/Makefile b/Makefile index 72f3306..0503433 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,10 @@ ifneq ($(UNAME_S),Darwin) GOFLAGS = -ldflags "-linkmode external -extldflags -static $(GOLDFLAGS)" endif -default: ./$(FN) +default: docker-build + +docker-build: + docker build -t sneak/sco . go-get: cd cmd/$(FN) && go get -v diff --git a/cmd/bot/main.go b/cmd/sco/main.go similarity index 100% rename from cmd/bot/main.go rename to cmd/sco/main.go