Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: extract from internal #125

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
- arm64
ldflags:
- -s -w
- -X github.com/mmcloughlin/addchain/internal/meta.buildversion={{ .Version }}
- -X github.com/mmcloughlin/addchain/meta.buildversion={{ .Version }}
archives:
- format_overrides:
- goos: windows
Expand Down
2 changes: 1 addition & 1 deletion cmd/addchain/cite.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/google/subcommands"

"github.com/mmcloughlin/addchain/internal/cli"
"github.com/mmcloughlin/addchain/internal/meta"
"github.com/mmcloughlin/addchain/meta"
)

// cite subcommand.
Expand Down
2 changes: 1 addition & 1 deletion cmd/addchain/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/google/subcommands"

"github.com/mmcloughlin/addchain/internal/cli"
"github.com/mmcloughlin/addchain/internal/meta"
"github.com/mmcloughlin/addchain/meta"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/docgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"strings"
"text/template"

"github.com/mmcloughlin/addchain/internal/meta"
"github.com/mmcloughlin/addchain/internal/results"
"github.com/mmcloughlin/addchain/meta"
)

//go:generate bib generate -bib ../../../doc/references.bib -tmpl bibliography.tmpl -output zbibliography.go
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/release/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (v *VarsFile) SetFlags(f *flag.FlagSet) {
// DefaultPath returns the path to the default variables file in the meta
// package. Returns the empty string if the path cannot be determined.
func (v *VarsFile) DefaultPath() string {
return RepoPath("internal/meta/vars.go")
return RepoPath("meta/vars.go")
}

// Get variable from the meta variables file.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.