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
|
||||
|
||||
go run github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||
|
||||
GOOS=windows GOARCH=386 go build -ldflags="-s -w" -trimpath &&
|
||||
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 &&
|
||||
zip -9 zenity_macos.zip zenity
|
||||
|
||||
go build
|
||||
go build -tags dev
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build windows darwin dev
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -17,8 +19,6 @@ import (
|
|||
"github.com/ncruces/zenity/internal/zenutil"
|
||||
)
|
||||
|
||||
//go:generate go run github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||
|
||||
const (
|
||||
unspecified = "\x00"
|
||||
)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build windows darwin dev
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!js
|
||||
// +build darwin dev
|
||||
|
||||
package main
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"FileDescription": "",
|
||||
"FileVersion": "0.0.0.0",
|
||||
"InternalName": "zenity",
|
||||
"LegalCopyright": "© 2020 Nuno Cruces",
|
||||
"LegalCopyright": "© 2021 Nuno Cruces",
|
||||
"LegalTrademarks": "",
|
||||
"OriginalFilename": "zenity.exe",
|
||||
"PrivateBuild": "",
|
||||
|
@ -38,4 +38,4 @@
|
|||
"CharsetID": "04B0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
// Package zenutil is internal. DO NOT USE.
|
||||
package zenutil
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!js
|
||||
// +build !windows
|
||||
|
||||
package zenutil
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenutil
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!darwin,!js
|
||||
// +build !windows,!darwin
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows,!js
|
||||
// +build !windows
|
||||
|
||||
package zenity
|
||||
|
||||
|
|
Loading…
Reference in a new issue