|
|
@@ -27,6 +27,7 @@ KITCHEN_OPTS_TEST?="" |
|
|
|
|
|
|
|
all: |
|
|
|
@echo "make install - Install into DESTDIR" |
|
|
|
@echo "make lint - Run lint tests" |
|
|
|
@echo "make test - Run tests" |
|
|
|
@echo "make kitchen - Run Kitchen CI tests (create, converge, verify)" |
|
|
|
@echo "make clean - Cleanup after tests run" |
|
|
@@ -45,6 +46,9 @@ install: |
|
|
|
[ -d $(DESTDIR)/$(RECLASSDIR)/service/$(FORMULANAME) ] || mkdir -p $(DESTDIR)/$(RECLASSDIR)/service/$(FORMULANAME) |
|
|
|
cp -a metadata/service/* $(DESTDIR)/$(RECLASSDIR)/service/$(FORMULANAME) |
|
|
|
|
|
|
|
lint: |
|
|
|
[ ! -d tests ] || (cd tests; ./run_tests.sh lint) |
|
|
|
|
|
|
|
test: |
|
|
|
[ ! -d tests ] || (cd tests; ./run_tests.sh) |
|
|
|
|