Get the tests working on deployments where file names may be different or not in path (#1)

* Replace the default help text

* Readme file, including the test config format documentation

* Typo

* Warn if config files / executables aren't found

* Ignore original name of executable (as per current README)

* Update tests to avoid failing on stat of a non-existant file

* Add a makefile for ease of build
This commit is contained in:
Liz Rice
2017-06-19 21:17:19 +01:00
committed by jerbia
parent 7d091c5eba
commit 26cc77ec1d
8 changed files with 101 additions and 88 deletions

8
makefile Normal file
View File

@@ -0,0 +1,8 @@
SOURCES := $(shell find . -name '*.go')
TARGET_OS := linux
cis_kubernetes: $(SOURCES)
GOOS=$(TARGET_OS) go build -o cis_kubernetes .
install: cis_kubernetes
./install.sh