Update import names and makefile for name change

pull/6/head
Liz Rice 7 years ago
parent e03f5c846f
commit f123db14a9

3
.gitignore vendored

@ -1,3 +1,2 @@
kubernetes-bench-security kube-bench
cis_kubernetes
*.swp *.swp

@ -22,7 +22,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/aquasecurity/kubernetes-bench-security/check" "github.com/aquasecurity/kube-bench/check"
"github.com/fatih/color" "github.com/fatih/color"
"github.com/spf13/viper" "github.com/spf13/viper"
) )

@ -15,7 +15,7 @@
package cmd package cmd
import ( import (
"github.com/aquasecurity/kubernetes-bench-security/check" "github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

@ -15,7 +15,7 @@
package cmd package cmd
import ( import (
"github.com/aquasecurity/kubernetes-bench-security/check" "github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

@ -15,7 +15,7 @@
package cmd package cmd
import ( import (
"github.com/aquasecurity/kubernetes-bench-security/check" "github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

@ -14,7 +14,7 @@
package main package main
import "github.com/aquasecurity/kubernetes-bench-security/cmd" import "github.com/aquasecurity/kube-bench/cmd"
func main() { func main() {
cmd.Execute() cmd.Execute()

@ -1,8 +1,7 @@
SOURCES := $(shell find . -name '*.go') SOURCES := $(shell find . -name '*.go')
TARGET_OS := linux TARGET_OS := linux
BINARY := kube-bench
cis_kubernetes: $(SOURCES) $(BINARY): $(SOURCES)
GOOS=$(TARGET_OS) go build -o cis_kubernetes . GOOS=$(TARGET_OS) go build -o $(BINARY) .
install: cis_kubernetes
./install.sh
Loading…
Cancel
Save