This commit is contained in:
2026-03-06 20:14:02 +00:00
parent 39eaafea25
commit 33208a2356
146 changed files with 673 additions and 1986 deletions

View File

@@ -9,10 +9,10 @@ import (
"os"
"path/filepath"
"github.com/mmcloughlin/avo/internal/gen"
"github.com/mmcloughlin/avo/internal/inst"
"github.com/mmcloughlin/avo/internal/load"
"github.com/mmcloughlin/avo/printer"
"sources.truenas.cloud/code/avo/internal/gen"
"sources.truenas.cloud/code/avo/internal/inst"
"sources.truenas.cloud/code/avo/internal/load"
"sources.truenas.cloud/code/avo/printer"
)
var generators = map[string]gen.Builder{
@@ -34,7 +34,7 @@ var (
bootstrap = flag.Bool("bootstrap", false, "regenerate instruction list from original data")
datadir = flag.String(
"data",
filepath.Join(build.Default.GOPATH, "src/github.com/mmcloughlin/avo/internal/data"),
filepath.Join(build.Default.GOPATH, "src/sources.truenas.cloud/code/avo/internal/data"),
"path to data directory",
)
output = flag.String("output", "", "path to output file (default stdout)")

View File

@@ -17,7 +17,7 @@ import (
"strings"
"text/template"
"github.com/mmcloughlin/avo/tests/thirdparty"
"sources.truenas.cloud/code/avo/tests/thirdparty"
)
func main() {

View File

@@ -2,7 +2,7 @@
<img src="logo.svg" width="40%" border="0" alt="avo" />
<br />
<img src="https://img.shields.io/github/actions/workflow/status/mmcloughlin/avo/ci.yml?style=flat-square" alt="Build Status" />
<a href="https://pkg.go.dev/github.com/mmcloughlin/avo"><img src="https://img.shields.io/badge/doc-reference-007d9b?logo=go&style=flat-square" alt="go.dev" /></a>
<a href="https://sources.truenas.cloud/code"><img src="https://img.shields.io/badge/doc-reference-007d9b?logo=go&style=flat-square" alt="go.dev" /></a>
<a href="https://goreportcard.com/report/github.com/mmcloughlin/avo"><img src="https://goreportcard.com/badge/github.com/mmcloughlin/avo?style=flat-square" alt="Go Report Card" /></a>
</p>