diff options
| author | Jeff Carr <[email protected]> | 2024-12-02 11:22:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-02 11:22:24 -0600 |
| commit | 8e29098aa8dc663490b83f636ed65f1080b29e3c (patch) | |
| tree | 585ed626241ec4392fbcc96215537baa35e18cd6 | |
| parent | 5155f8038eb854c64efafcf5f2e9ef0f88cb6630 (diff) | |
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,6 +16,13 @@ build: GO111MODULE=off go build -v \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build-darwin: + GOOS=darwin GOARCH=amd64 GO111MODULE=off go build -v -o go-clone-darwin \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" +build-windows: + GOOS=windows GOARCH=amd64 GO111MODULE=off go build -v go-clone.exe \ + -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" + install: GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" |
