Skip to content

Commit

Permalink
chore: move cli down to internal/cli
Browse files Browse the repository at this point in the history
  • Loading branch information
telemachus committed Nov 8, 2024
1 parent 4bd4c88 commit 497c6db
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ lint: fmt
golangci-lint run

test:
go test -shuffle on github.com/telemachus/gitmirror/cli
go test -shuffle on github.com/telemachus/gitmirror/internal/cli

testv:
go test -shuffle on -v github.com/telemachus/gitmirror/cli
go test -shuffle on -v github.com/telemachus/gitmirror/internal/cli

testr:
go test -race -shuffle on github.com/telemachus/gitmirror/cli
go test -race -shuffle on github.com/telemachus/gitmirror/internal/cli

build: lint testr
go build ./cmd/gitmirror
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror-clone/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror-help/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror-update/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror-version/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

func main() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cli/unmarshal_test.go → internal/cli/unmarshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/google/go-cmp/cmp"
"github.com/telemachus/gitmirror/cli"
"github.com/telemachus/gitmirror/internal/cli"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 497c6db

Please sign in to comment.