Documentation
¶
Overview ¶
Build tool for cross-compiling hookshot binaries.
Usage:
go run ./build # Build for current platform go run ./build -all # Build for all platforms go run ./build -output ./dist # Custom output directory go run ./build -name my-hooks # Custom binary name go run ./build -all -output ./dist -name my-hooks
This tool can also be imported as a library:
import "github.com/CorridorSecurity/hookshot/build"
func main() {
build.Build(build.Options{
OutputDir: "./dist",
BinaryName: "my-hooks",
All: true,
})
}
Click to show internal directories.
Click to hide internal directories.