Skip to content

Commit 923c8e8

Browse files
committed
Simplify Makefile build command for ./cmd/sqlbless
1 parent 411efa0 commit 923c8e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ EXE=$(shell $(GO) env GOEXE)
2323

2424
build:
2525
$(GO) fmt ./...
26-
$(SET) "CGO_ENABLED=0" && $(GO) build -C "$(CURDIR)/cmd/sqlbless" -o "$(CURDIR)" $(GOOPT)
26+
$(SET) "CGO_ENABLED=0" && $(GO) build $(GOOPT) "./cmd/sqlbless"
2727

2828
test:
2929
$(GO) test -v ./...
3030

3131
_dist:
32-
$(SET) "CGO_ENABLED=0" && $(GO) build -C "$(CURDIR)/cmd/sqlbless" -o "$(CURDIR)" $(GOOPT)
32+
$(SET) "CGO_ENABLED=0" && $(GO) build $(GOOPT) "./cmd/sqlbless"
3333
zip -9 $(NAME)-$(VERSION)-$(GOOS)-$(GOARCH).zip $(NAME)$(EXE)
3434

3535
dist:

0 commit comments

Comments
 (0)