From 043c6e605f475e2eed0d003a9f8fbcd04c284d74 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 20 Jul 2022 17:31:40 +0200 Subject: [PATCH] adjust project structure --- Makefile | 2 +- {admin => cmd/drone-admin}/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {admin => cmd/drone-admin}/main.go (100%) diff --git a/Makefile b/Makefile index c001b61..b734963 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ test: build: $(DIST)/$(EXECUTABLE) $(DIST)/$(EXECUTABLE): $(SOURCES) - $(GO) build -v -tags '$(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -o $@ ./admin + $(GO) build -v -tags '$(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -o $@ ./cmd/$(EXECUTABLE) $(DIST_DIRS): mkdir -p $(DIST_DIRS) diff --git a/admin/main.go b/cmd/drone-admin/main.go similarity index 100% rename from admin/main.go rename to cmd/drone-admin/main.go