From 03619dc6284200af5cc8a8a45b25a669a23ce71e Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 17 Mar 2023 02:32:47 +0100 Subject: [PATCH] chore: make website Added make target for use in Fleek --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ed9b4f43..40aeb39b6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,16 @@ -all: superlinter +SPEC_GENERATOR_VER=v1.1.2 + + +all: website + +clean: + rm -rf ./out + +website: clean + npx spec-generator@$(SPEC_GENERATOR_VER) -c .config.json + +watch: clean + npx spec-generator@$(SPEC_GENERATOR_VER) -c .config.json -w superlinter: docker run --rm -e VALIDATE_ALL_CODEBASE=false -e RUN_LOCAL=true -e VALIDATE_MARKDOWN=true -e MARKDOWN_CONFIG_FILE=".markdownlint.json" -e LINTER_RULES_PATH="." -v $(shell pwd):/tmp/lint github/super-linter:v4