Skip to content

Commit

Permalink
Merge pull request #32 from WillAbides/renameconfig
Browse files Browse the repository at this point in the history
rename buildtools.json to bindown.json
  • Loading branch information
WillAbides authored Nov 25, 2019
2 parents cc7d5e2 + 3cca3cb commit 274113c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions bindown_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestLoadConfig(t *testing.T) {
t.Run("current format", func(t *testing.T) {
dir, teardown := tmpDir(t)
defer teardown()
file := filepath.Join(dir, "buildtools.json")
file := filepath.Join(dir, "bindown.json")

// language=json
content := `
Expand Down Expand Up @@ -56,7 +56,7 @@ func TestLoadConfig(t *testing.T) {
t.Run("downloaders only", func(t *testing.T) {
dir, teardown := tmpDir(t)
defer teardown()
file := filepath.Join(dir, "buildtools.json")
file := filepath.Join(dir, "bindown.json")

// language=json
content := `
Expand Down
4 changes: 2 additions & 2 deletions cmd/bindown/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

var kongVars = kong.Vars{
"configfile_help": `file with tool definitions`,
"configfile_default": `buildtools.json`,
"configfile_help": `file with bindown config`,
"configfile_default": `bindown.json`,
"cellar_dir_help": `directory where downloads will be cached`,
"download_help": `download a bin`,
}
Expand Down

0 comments on commit 274113c

Please sign in to comment.