Skip to content

Commit

Permalink
redactoring and add homebrew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
redradrat committed Sep 28, 2020
1 parent 608f3cf commit 4181117
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 18 deletions.
18 changes: 18 additions & 0 deletions kable/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ changelog:
exclude:
- '^docs:'
- '^test:'
brews:
- name: kable

tap:
owner: redradrat
name: homebrew-kable

commit_author:
name: Ralph Kühnert
email: [email protected]

homepage: "https://github.com/redradrat/kable"
description: "Manage kubernetes resource. GitOps galore!"

dependencies:
- name: git
- name: go-jsonnet
- name: jsonnet-bundler
4 changes: 2 additions & 2 deletions kable/cmd/addRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"os"
"regexp"

"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"

errors2 "github.com/redradrat/kable/pkg/kable/errors"
errors2 "github.com/redradrat/kable/pkg/errors"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/initConcept.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"os"
"path/filepath"

"github.com/redradrat/kable/pkg/kable/concepts"
"github.com/redradrat/kable/pkg/concepts"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/inputDialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/AlecAivazis/survey/v2"

"github.com/redradrat/kable/pkg/kable/concepts"
"github.com/redradrat/kable/pkg/concepts"
)

type InputDialog struct {
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/listConcept.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package cmd

import (
concepts2 "github.com/redradrat/kable/pkg/kable/concepts"
concepts2 "github.com/redradrat/kable/pkg/concepts"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/listRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package cmd
import (
"strconv"

"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/removeRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"
"regexp"

"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/renderConcept.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"path/filepath"

"github.com/redradrat/kable/pkg/kable/concepts"
"github.com/redradrat/kable/pkg/concepts"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"os"

"github.com/redradrat/kable/pkg/kable/config"
"github.com/redradrat/kable/pkg/config"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/tidyRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package cmd

import (
"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion kable/cmd/updateRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package cmd

import (
"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"
"github.com/spf13/cobra"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"regexp"
"strings"

"github.com/redradrat/kable/pkg/kable/repositories"
"github.com/redradrat/kable/pkg/repositories"

"github.com/redradrat/kable/pkg/kable/errors"
"github.com/redradrat/kable/pkg/errors"

"github.com/go-git/go-git/v5"
giturls "github.com/whilp/git-urls"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"time"

"github.com/redradrat/kable/pkg/kable/errors"
"github.com/redradrat/kable/pkg/errors"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

"github.com/redradrat/kable/pkg/kable/errors"
"github.com/redradrat/kable/pkg/errors"

"github.com/google/go-jsonnet"
)
Expand Down
2 changes: 1 addition & 1 deletion kable/kable/config/config.go → kable/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"path/filepath"

"github.com/redradrat/kable/pkg/kable/errors"
"github.com/redradrat/kable/pkg/errors"

"github.com/mitchellh/go-homedir"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (

"github.com/go-git/go-git/v5/plumbing/transport/http"

"github.com/redradrat/kable/pkg/kable/config"
"github.com/redradrat/kable/pkg/config"

errors2 "github.com/redradrat/kable/pkg/kable/errors"
errors2 "github.com/redradrat/kable/pkg/errors"

"github.com/google/uuid"

Expand Down

0 comments on commit 4181117

Please sign in to comment.