-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Go's native embedding functionality to simplify build
- Loading branch information
1 parent
2128219
commit eb141f7
Showing
130 changed files
with
78 additions
and
15,271 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
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,3 +1,2 @@ | ||
build/ | ||
cmd/toxstatus/assets.go | ||
nodes.json |
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,12 +1,8 @@ | ||
all: prep assets | ||
all: prep | ||
go build -o build/bin/toxstatus github.com/Tox/ToxStatus/cmd/toxstatus | ||
|
||
assets: | ||
go run vendor/github.com/alexbakker/go-embed/*.go -pkg=main -input=cmd/toxstatus/assets -output=cmd/toxstatus/assets.go | ||
|
||
prep: | ||
mkdir -p build/bin | ||
|
||
clean: | ||
rm -rf build | ||
rm -f cmd/toxstatus/assets.go |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
module github.com/Tox/ToxStatus | ||
|
||
go 1.15 | ||
go 1.16 | ||
|
||
require ( | ||
github.com/alexbakker/go-embed v0.0.0-20160504184358-845f3d77900c | ||
github.com/alexbakker/tox4go v0.0.0-20170617131442-f2fe5c787e3e | ||
github.com/didip/tollbooth/v6 v6.1.0 | ||
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect | ||
golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect | ||
github.com/didip/tollbooth/v6 v6.1.2 | ||
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect | ||
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect | ||
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
with import <nixpkgs> {}; | ||
mkShell { | ||
buildInputs = [ | ||
go | ||
gnumake | ||
]; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.