Skip to content
quarry Artifact [e1378d052b]
Login

Artifact [e1378d052b]

Artifact e1378d052b1e2fa0ebb3390f00d3e666aaa0c595bb0bf14193fd614e748ed3ef:


// quarry-runner runs a repository's CI on a machine its owners control.
// It is one static program with no dependencies: download it from the
// forge (Settings → Worker tokens names the link), set a worker token,
// point it at the repository. See `quarry-runner -h`.
package main

import (
	"fmt"
	"os"

	"craftdesign.group/quarry/internal/runner"
)

var version = "dev" // set at build: -ldflags "-X main.version=..."

func main() {
	if err := runner.Main(os.Args[1:], "quarry-runner", version); err != nil {
		fmt.Fprintln(os.Stderr, "quarry-runner:", err)
		os.Exit(1)
	}
}