summaryrefslogtreecommitdiff
path: root/launch.sh
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-03 18:54:23 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-03 18:54:23 +0800
commit4a5d8ac2abf9c017139155a210d10b4aeb2aa515 (patch)
tree5eb69b2be9abe93a245e7bfd3e554f5091c523aa /launch.sh
parent9a4c2220d310a9bc7b7a01943bf925ed38265665 (diff)
added launch script
Diffstat (limited to 'launch.sh')
-rwxr-xr-xlaunch.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/launch.sh b/launch.sh
new file mode 100755
index 00000000..4cfaf788
--- /dev/null
+++ b/launch.sh
@@ -0,0 +1,8 @@
+echo '\033[0;35mCode Checking Starts...\033[0m'
+html5validator --also-check-css --also-check-svg --verbose | npx gnomon || echo '\033[0;31mCode Check Failed...\033[0m'
+# sleep .5
+echo
+htmltest --conf ./.htmltest.yml | npx gnomon
+echo '\033[0;32mNpx Server Started...\033[0m'
+
+exec npx serve #| npx gnomon;