Skip to content

Commit

Permalink
refactor: version is now an internal package (#167)
Browse files Browse the repository at this point in the history
Like for previous commits, just refactoring/yak shaving.
  • Loading branch information
bassosimone committed Nov 13, 2020
1 parent a4ae94b commit bc85efa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ To update bundled binary data use:

1. update binary data as described above;

2. update `version/version.go`;
2. update `internal/version/version.go`;

3. make sure you have updated dependencies;

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/apex/log"
"github.com/ooni/probe-cli/internal/cli/root"
"github.com/ooni/probe-cli/version"
"github.com/ooni/probe-cli/internal/version"
)

// Run the app. This is the main app entry point
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/ooni/probe-cli/internal/log/handlers/batch"
"github.com/ooni/probe-cli/internal/log/handlers/cli"
"github.com/ooni/probe-cli/internal/utils"
"github.com/ooni/probe-cli/version"
"github.com/ooni/probe-cli/internal/version"
)

// Cmd is the root command
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/alecthomas/kingpin"
"github.com/ooni/probe-cli/internal/cli/root"
"github.com/ooni/probe-cli/version"
"github.com/ooni/probe-cli/internal/version"
)


Expand Down
File renamed without changes.

0 comments on commit bc85efa

Please sign in to comment.