Skip to content

Commit

Permalink
Merge pull request #31 from catatsuy/feature_move_internal_dir
Browse files Browse the repository at this point in the history
Update package structure to use internal package for CLI
  • Loading branch information
catatsuy authored Apr 6, 2024
2 parents 3edc276 + 8cccc79 commit da91fe4
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all: bin/purl
go.mod go.sum:
go mod tidy

bin/purl: main.go cli/*.go go.mod go.sum
bin/purl: main.go internal/cli/*.go go.mod go.sum
go build -ldflags "-X github.com/catatsuy/purl/cli.Version=`git rev-list HEAD -n1`" -o bin/purl main.go

.PHONY: vet
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cli/cli_test.go → internal/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/catatsuy/purl/cli"
"github.com/catatsuy/purl/internal/cli"
)

func TestNewCLI(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/catatsuy/purl/cli"
"github.com/catatsuy/purl/internal/cli"
)

func main() {
Expand Down

0 comments on commit da91fe4

Please sign in to comment.