-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9401987
commit 6d34b7d
Showing
11 changed files
with
37 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ clean: | |
rm -f unpackerr unpackerr.*.{macos,freebsd,linux,exe}{,.gz,.zip} unpackerr.1{,.gz} unpackerr.rb | ||
rm -f unpackerr{_,-}*.{deb,rpm,txz} v*.tar.gz.sha256 examples/MANUAL .metadata.make rsrc_*.syso | ||
rm -f cmd/unpackerr/README{,.html} README{,.html} ./unpackerr_manual.html rsrc.syso Unpackerr.*.app.zip | ||
rm -f PKGBUILD pkg/bindata/bindata.go | ||
rm -f PKGBUILD | ||
rm -rf package_build_* release Unpackerr.*.app Unpackerr.app | ||
|
||
#################### | ||
|
@@ -94,12 +94,12 @@ unpackerr.1.gz: | |
|
||
# TODO: provide a template that adds the date to the built html file. | ||
readme: README.html | ||
README.html: | ||
README.html: | ||
# This turns README.md into README.html | ||
go run github.com/davidnewhall/[email protected] --manual unpackerr --version $(VERSION) --date "$(DATE)" README.md | ||
|
||
rsrc: rsrc.syso | ||
rsrc.syso: init/windows/application.ico init/windows/manifest.xml | ||
rsrc.syso: init/windows/application.ico init/windows/manifest.xml | ||
go run github.com/akavel/rsrc@latest -arch amd64 -ico init/windows/application.ico -manifest init/windows/manifest.xml | ||
|
||
#################### | ||
|
@@ -337,8 +337,8 @@ lint: generate | |
GOOS=freebsd golangci-lint run | ||
GOOS=windows golangci-lint run | ||
|
||
generate: pkg/bindata/bindata.go | ||
pkg/bindata/bindata.go: pkg/bindata/files/* | ||
generate: examples/unpackerr.conf.example | ||
examples/unpackerr.conf.example: init/config/* | ||
find pkg -name .DS\* -delete | ||
go generate ./... | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package examples | ||
|
||
// This file allows unpackerr to import the example config file into the binary. | ||
|
||
import _ "embed" | ||
|
||
var ( | ||
//go:embed unpackerr.conf.example | ||
ConfigFile []byte | ||
//go:embed docker-compose.yml | ||
DockerCompose []byte | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
The files in this folder are auto generated from the files/ folder. | ||
Currently bindata is used to store the app GUI icon files. | ||
The files in this folder are bundled into the compiled application binary. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:build !windows | ||
|
||
package bindata | ||
|
||
import _ "embed" | ||
|
||
//go:embed macos.png | ||
var SystrayIcon []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//go:build windows | ||
|
||
package bindata | ||
|
||
import _ "embed" | ||
|
||
//go:embed windows.ico | ||
var SystrayIcon []byte |
This file was deleted.
Oops, something went wrong.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters