SEBA-580 Add backup commands;
Retrieve server version;
Show available models
Change-Id: I3dc37d6f155661a2635fb4c95cf42b2aa81035e8
diff --git a/Makefile b/Makefile
index 8ed55fc..297c16b 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@
go build $(LDFLAGS) cmd/cordctl.go
dependencies:
- dep ensure
+ [ -d "vendor" ] || dep ensure
lint: dependencies
find $(GOPATH)/src/github.com/opencord/cordctl -name "*.go" -not -path '$(GOPATH)/src/github.com/opencord/cordctl/vendor/*' | xargs gofmt -l
@@ -37,3 +37,8 @@
go-junit-report < ./tests/results/go-test-results.out > ./tests/results/go-test-results.xml ;\
gocover-cobertura < ./tests/results/go-test-coverage.out > ./tests/results/go-test-coverage.xml ;\
exit $$RETURN
+
+clean:
+ rm -f cordctl
+ rm -rf vendor
+ rm -f Gopkg.lock