Skip to content

Commit

Permalink
Rename package from libstone to libstone-go
Browse files Browse the repository at this point in the history
  • Loading branch information
livingsilver94 authored and Fabio Forni committed Feb 20, 2024
1 parent e05727a commit cee6deb
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"os"

"github.com/serpent-os/libstone/internal/cli"
"github.com/serpent-os/libstone-go/internal/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions internal/cli/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/readers/bytewalker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"encoding/binary"
"testing"

"github.com/serpent-os/libstone/internal/readers"
"github.com/serpent-os/libstone-go/internal/readers"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion prelude.go
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
2 changes: 1 addition & 1 deletion stone1/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions stone1/prelude.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion stone1/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit cee6deb

Please sign in to comment.