build

command
v0.0.0-...-81c893e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 7 Imported by: 0

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,
    })
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL