Sidestep go install issue (Linux).
This commit is contained in:
parent
ce2809b72b
commit
40c8a6e6cd
17 changed files with 22 additions and 18 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
go run github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||||
|
|
||||||
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -trimpath &&
|
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -trimpath &&
|
||||||
zip -9 zenity_win32.zip zenity.exe
|
zip -9 zenity_win32.zip zenity.exe
|
||||||
|
|
||||||
|
@ -9,4 +11,4 @@ zip -9 zenity_win64.zip zenity.exe
|
||||||
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -trimpath &&
|
||||||
zip -9 zenity_macos.zip zenity
|
zip -9 zenity_macos.zip zenity
|
||||||
|
|
||||||
go build
|
go build -tags dev
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build windows darwin dev
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -17,8 +19,6 @@ import (
|
||||||
"github.com/ncruces/zenity/internal/zenutil"
|
"github.com/ncruces/zenity/internal/zenutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate go run github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
unspecified = "\x00"
|
unspecified = "\x00"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build windows darwin dev
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!js
|
// +build darwin dev
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"FileDescription": "",
|
"FileDescription": "",
|
||||||
"FileVersion": "0.0.0.0",
|
"FileVersion": "0.0.0.0",
|
||||||
"InternalName": "zenity",
|
"InternalName": "zenity",
|
||||||
"LegalCopyright": "© 2020 Nuno Cruces",
|
"LegalCopyright": "© 2021 Nuno Cruces",
|
||||||
"LegalTrademarks": "",
|
"LegalTrademarks": "",
|
||||||
"OriginalFilename": "zenity.exe",
|
"OriginalFilename": "zenity.exe",
|
||||||
"PrivateBuild": "",
|
"PrivateBuild": "",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
// Package zenutil is internal. DO NOT USE.
|
// Package zenutil is internal. DO NOT USE.
|
||||||
package zenutil
|
package zenutil
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!js
|
// +build !windows
|
||||||
|
|
||||||
package zenutil
|
package zenutil
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenutil
|
package zenutil
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!darwin,!js
|
// +build !windows,!darwin
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !windows,!js
|
// +build !windows
|
||||||
|
|
||||||
package zenity
|
package zenity
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue