mirror of
https://github.com/hymkor/lispect.git
synced 2026-10-28 06:10:05 -04:00
Makefile: update to support new package structure
This commit is contained in:
1 parent
1540549e72
commit
56faa6dd54
1 file changed
+3
-3
@@ -16,14 +16,14 @@ EXE:=$(shell go env GOEXE)
|
|||||||
|
|
||||||
all:
|
all:
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
$(SET) "CGO_ENABLED=0" && go build $(GOOPT)
|
$(SET) "CGO_ENABLED=0" && go build -C "$(CURDIR)/cmd/lispect" -o "$(CURDIR)/$(NAME)$(EXE)" $(GOOPT)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
go test -v
|
go test -v
|
||||||
|
|
||||||
_dist:
|
_dist:
|
||||||
$(SET) "CGO_ENABLED=0" && go build $(GOOPT)
|
$(MAKE) all
|
||||||
zip -9 $(NAME)-$(VERSION)-$(GOOS)-$(GOARCH).zip $(NAME)$(EXE)
|
zip -9j $(NAME)-$(VERSION)-$(GOOS)-$(GOARCH).zip $(NAME)$(EXE)
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
$(SET) "GOOS=linux" && $(SET) "GOARCH=386" && $(MAKE) _dist
|
$(SET) "GOOS=linux" && $(SET) "GOARCH=386" && $(MAKE) _dist
|
||||||
|
|||||||
Reference in new issue
Block a user