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