diff --git a/Makefile b/Makefile index 64bc5e82ad76e6d8603ac67d8a643fad0d1a3f89..36a67c193cf39daa27af48e522ea672faeb09c88 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,9 @@ -.PHONY: all check test +.PHONY: all output check test -CACHE_DIR = .cache +all: output -$(shell mkdir -p $(CACHE_DIR)) - -include .deps.mk - -$(CACHE_DIR)/output.json: - ./merge-json.py --out $@ $^ - -$(CACHE_DIR)/%.json: - cd $< && puppet strings generate --format json --out $(CURDIR)/$@ - -index.html: $(CACHE_DIR)/output.json *.py - python3 main.py $< > $@ +output: + python -m muppet --env ~/puppet/generated-environments/production/modules/ check: flake8 muppet @@ -23,4 +13,4 @@ test: python -m pytest clean: - -rm -r $(CACHE_DIR)/* + -rm -r output