Skip to content

Commit

Permalink
Merge pull request #653 from flatcar/kai/remove-userctl-ref
Browse files Browse the repository at this point in the history
backend/Makefile: Remove unused userctl reference
  • Loading branch information
pothos committed Jun 23, 2023
2 parents 3f95eeb + 64e9972 commit 03a5143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,3 @@ backend-code-checks:
.PHONY: swagger-install
swagger-install:
$(MAKE) -C backend tools/swag

.PHONY: swagger-init
swagger-init:
$(MAKE) -C backend $@
9 changes: 1 addition & 8 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,11 @@ test-clean-work-tree-backend:
fi

.PHONY: tools
tools: bin/initdb bin/userctl
tools: bin/initdb

bin/initdb:
go build -o bin/initdb ./cmd/initdb

bin/userctl:
go build -o bin/userctl ./cmd/userctl

tools/go-bindata: go.mod go.sum
env GOBIN=$(CURDIR)/tools/ go install github.com/kevinburke/go-bindata/go-bindata@v3.24.0

Expand Down Expand Up @@ -104,10 +101,6 @@ code-checks: tools/golangci-lint
./tools/golangci-lint run --fix
go mod tidy

.PHONY: swagger-init
swagger-init: tools/swag
./tools/swag init -g cmd/userctl/main.go -o api

.PHONY: tools/oapi-codegen
tools/oapi-codegen:
env GOBIN=$(CURDIR)/tools/ go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.12.4
Expand Down

0 comments on commit 03a5143

Please sign in to comment.