Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Removes unnecessary gofmt and removes unused goclean
  • Loading branch information
StevenWeathers committed Oct 13, 2024
1 parent 52be60b commit 2365700
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ GOBUILD=$(GOCMD) build
SWAGGERDOCS=docs/swagger
SWAGGERGEN=swag init -g internal/http/http.go -o $(SWAGGERDOCS)
SWAGFORMAT=swag fmt
GOFMT=gofmt
GOIMPORTS=goimports
BINARY_NAME=thunderdome-planning-poker
BINARY_UNIX=$(BINARY_NAME)_unix
Expand All @@ -32,8 +31,7 @@ build:
$(SWAGGERGEN)
$(GOBUILD) -o $(BINARY_NAME) -v

clean:
$(GOCLEAN)
clean:
rm -f $(BINARY_NAME)
rm -f $(BINARY_UNIX)
rm -f $(BINARY_WINDOWS)
Expand All @@ -42,7 +40,6 @@ clean:
rm -rf $(SWAGGERDOCS)

format:
$(GOFMT) -s -w .
$(GOIMPORTS) -w .
$(SWAGFMT)
$(NPM_FORMAT)
Expand All @@ -65,7 +62,6 @@ build-windows:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 $(GOBUILD) -o $(BINARY_WINDOWS) -v

dev:
$(GOFMT) -s -w .
$(GOIMPORTS) -w .
$(SWAGFMT)
$(GENI8N)
Expand All @@ -77,7 +73,6 @@ dev:
HTTP_SECURE_PROTOCOL="false" SMTP_ENABLED="false" DB_HOST="localhost" APP_DOMAIN="localhost" COOKIE_SECURE="false" ./$(BINARY_NAME) live

dev-go:
$(GOFMT) -s -w .
$(GOIMPORTS) -w .
$(SWAGFMT)
$(SWAGGERGEN)
Expand Down

0 comments on commit 2365700

Please sign in to comment.