Skip to content

Commit

Permalink
Makefile: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Aug 13, 2022
1 parent 3d6d540 commit 5796cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test:
go test -v

_package:
$(SET) "CGO_ENABLED=0" && go build $(GOOPT) && \
$(SET) "CGO_ENABLED=0" && go build $(GOOPT)
zip -9 $(NAME)-$(VERSION)-$(GOOS)-$(GOARCH).zip $(NAME)$(EXE)

package:
Expand All @@ -29,4 +29,4 @@ package:
$(SET) "GOOS=windows" && $(SET) "GOARCH=amd64" && $(MAKE) _package

clean:
$(DEL) *.zip $(NAME) $(NAME).exe
$(DEL) *.zip $(NAME)$(EXE)

0 comments on commit 5796cd4

Please sign in to comment.