Browse Source

[Make] output clean executable names

main 2.1.2
Unbewohnte 3 years ago
parent
commit
d0a0eaf780
  1. 6
      Makefile

6
Makefile

@ -18,9 +18,9 @@ pkgrelease:
mkdir $(RELEASE_DIR)/darwin_amd64 mkdir $(RELEASE_DIR)/darwin_amd64
mkdir $(RELEASE_DIR)/windows_amd64 mkdir $(RELEASE_DIR)/windows_amd64
cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ftu_linux_amd64 && mv ftu_linux_amd64 ../$(RELEASE_DIR)/linux_amd64 cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ftu && mv ftu ../$(RELEASE_DIR)/linux_amd64
cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ftu_darwin_amd64 && mv ftu_darwin_amd64 ../$(RELEASE_DIR)/darwin_amd64 cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ftu && mv ftu ../$(RELEASE_DIR)/darwin_amd64
cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ftu_windows_amd64.exe && mv ftu_windows_amd64.exe ../$(RELEASE_DIR)/windows_amd64 cd $(SRC_DIR) && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ftu.exe && mv ftu.exe ../$(RELEASE_DIR)/windows_amd64
cp $(LICENSE_FILE) $(RELEASE_DIR)/linux_amd64 cp $(LICENSE_FILE) $(RELEASE_DIR)/linux_amd64
cp $(INSTALLATION_SCRIPT) $(RELEASE_DIR)/linux_amd64 cp $(INSTALLATION_SCRIPT) $(RELEASE_DIR)/linux_amd64

Loading…
Cancel
Save