From 90406ba87b94da6a2e09ec9f49688bfaea19106a Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Fri, 11 Mar 2022 17:45:16 +0800 Subject: [PATCH] Update build.sh --- build.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build.sh b/build.sh index 02872bf..d9886a5 100644 --- a/build.sh +++ b/build.sh @@ -3,26 +3,26 @@ set -e # Requires: Ruby, node, python -tput setaf 2; echo "Cleaning up..."; tput setaf 0 +tput setaf 2; echo "Cleaning up..."; tput sgr0 rm ./node_modules -rf -tput setaf 2; echo "Installing markdown lint"; tput setaf 0 +tput setaf 2; echo "Installing markdown lint"; tput sgr0 gem install mdl -tput setaf 2; echo "Generating new readme and mkdocs"; tput setaf 0 +tput setaf 2; echo "Generating new readme and mkdocs"; tput sgr0 node ./.github/readme-generate.js -tput setaf 2; echo "Running markdown lint to check issues."; tput setaf 0 +tput setaf 2; echo "Running markdown lint to check issues."; tput sgr0 mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029 -tput setaf 2; echo "Installing python requirements..."; tput setaf 0 +tput setaf 2; echo "Installing python requirements..."; tput sgr0 pip install -r requirements.txt -tput setaf 2; echo "Builidng mkdocs and checking links..."; tput setaf 0 +tput setaf 2; echo "Builidng mkdocs and checking links..."; tput sgr0 mkdocs build --strict -tput setaf 2; echo "Installing textlint"; tput setaf 0 +tput setaf 2; echo "Installing textlint"; tput sgr0 npm install -tput setaf 2; echo "Running textlint..."; tput setaf 0 -./node_modules/.bin/textlint . --fix \ No newline at end of file +tput setaf 2; echo "Running textlint..."; tput sgr0 +./node_modules/.bin/textlint . --fix