From c828072eba46ef0a4564f01fc64acd4027a6604f Mon Sep 17 00:00:00 2001 From: bwcx_jzy Date: Sun, 19 Sep 2021 21:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BF=AB=E9=80=9F=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 4 ++-- script/release.bat | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 script/release.bat diff --git a/.gitattributes b/.gitattributes index 67dcd7a6f..aab843a34 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ * text=auto *.jar binary -*.sh text working-tree-encoding=UTF-8 eol=lf -*.bat text working-tree-encoding=GBK eol=crlf \ No newline at end of file +*.sh text eol=lf +*.bat text eol=crlf diff --git a/script/release.bat b/script/release.bat new file mode 100644 index 000000000..fa70e7730 --- /dev/null +++ b/script/release.bat @@ -0,0 +1,9 @@ +@echo off + +@REM 快速打包项目脚本 + +@REM 构建前端 +call cd ../ && cd web-vue && npm i && npm run build + +@REM 构建 Java +call cd ../ && mvn clean package