浏览代码

添加快速打包脚本

bwcx_jzy 4 年之前
父节点
当前提交
c828072eba
共有 2 个文件被更改,包括 11 次插入2 次删除
  1. 2 2
      .gitattributes
  2. 9 0
      script/release.bat

+ 2 - 2
.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
+*.sh    text eol=lf
+*.bat   text eol=crlf

+ 9 - 0
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