From 7a08085a57f15e2b5b1ca1ebb5a46babfb985874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E4=BD=B3=E9=B8=BF?= <2446434034@qq.com> Date: Mon, 12 Aug 2024 02:20:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20run.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 run.sh diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..05f6a0b --- /dev/null +++ b/run.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# 退出脚本并返回错误代码,如果有错误 +set -e + +# 安装项目依赖 +npm install + +# 构建 VuePress 项目 +npm run build