diff --git a/Taskfile.yml b/Taskfile.yml index d93451a..42a3ee1 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -18,7 +18,7 @@ tasks: build: cmds: - - go build -o {{.OUTPATH}} -ldflags "-X github.com/serpent-os/libstone/internal/cli.Version={{.VERSION}}" cli/main.go + - go build -o {{.OUTPATH}} -ldflags "-X github.com/serpent-os/libstone-go/internal/cli.Version={{.VERSION}}" cli/main.go vars: VERSION: sh: git describe --tags || git rev-parse HEAD diff --git a/cli/main.go b/cli/main.go index b7a6c91..c264118 100644 --- a/cli/main.go +++ b/cli/main.go @@ -7,7 +7,7 @@ import ( "fmt" "os" - "github.com/serpent-os/libstone/internal/cli" + "github.com/serpent-os/libstone-go/internal/cli" ) func main() { diff --git a/go.mod b/go.mod index a74353b..70951bd 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2024 Serpent OS Developers // SPDX-License-Identifier: MPL-2.0 -module github.com/serpent-os/libstone +module github.com/serpent-os/libstone-go go 1.21 diff --git a/internal/cli/inspect.go b/internal/cli/inspect.go index d17e0e9..8ebc886 100644 --- a/internal/cli/inspect.go +++ b/internal/cli/inspect.go @@ -9,8 +9,8 @@ import ( "os" "unicode/utf8" - "github.com/serpent-os/libstone" - "github.com/serpent-os/libstone/stone1" + "github.com/serpent-os/libstone-go" + "github.com/serpent-os/libstone-go/stone1" ) type cmdInspect struct { diff --git a/internal/readers/bytewalker_test.go b/internal/readers/bytewalker_test.go index 2c0866a..28d0f04 100644 --- a/internal/readers/bytewalker_test.go +++ b/internal/readers/bytewalker_test.go @@ -8,7 +8,7 @@ import ( "encoding/binary" "testing" - "github.com/serpent-os/libstone/internal/readers" + "github.com/serpent-os/libstone-go/internal/readers" ) const ( diff --git a/prelude.go b/prelude.go index a9a74e6..3f89c51 100644 --- a/prelude.go +++ b/prelude.go @@ -7,7 +7,7 @@ import ( "errors" "io" - "github.com/serpent-os/libstone/internal/readers" + "github.com/serpent-os/libstone-go/internal/readers" ) // Version is the stone format version contained inside the [Prelude]. diff --git a/stone1/payload.go b/stone1/payload.go index da57923..6cbed36 100644 --- a/stone1/payload.go +++ b/stone1/payload.go @@ -4,7 +4,7 @@ package stone1 import ( - "github.com/serpent-os/libstone/internal/readers" + "github.com/serpent-os/libstone-go/internal/readers" ) // RecordKind is the kind of the payload's records. diff --git a/stone1/prelude.go b/stone1/prelude.go index f0b2142..c3564a5 100644 --- a/stone1/prelude.go +++ b/stone1/prelude.go @@ -6,8 +6,8 @@ package stone1 import ( "errors" - "github.com/serpent-os/libstone" - "github.com/serpent-os/libstone/internal/readers" + "github.com/serpent-os/libstone-go" + "github.com/serpent-os/libstone-go/internal/readers" ) var ( diff --git a/stone1/record.go b/stone1/record.go index bee9cde..73ac068 100644 --- a/stone1/record.go +++ b/stone1/record.go @@ -9,7 +9,7 @@ import ( "io" "io/fs" - "github.com/serpent-os/libstone/internal/readers" + "github.com/serpent-os/libstone-go/internal/readers" "github.com/zeebo/xxh3" )