Jpom/script/release.sh

23 lines
751 B
Bash
Raw Normal View History

2021-09-19 21:11:09 +08:00
#!/bin/bash
2022-03-09 22:19:22 +08:00
#
# Copyright (c) 2019 Of Him Code Technology Studio
2024-02-29 14:10:24 +08:00
# Jpom is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
# http://license.coscl.org.cn/MulanPSL2
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
2022-03-09 22:19:22 +08:00
#
2021-09-19 21:11:09 +08:00
# 快速打包项目脚本
2021-11-18 14:42:22 +08:00
# 删除前端依赖从新安装
cd ../ && cd web-vue && rm -rf node_modules
2021-09-19 21:11:09 +08:00
# 构建前端
cd ../ && cd web-vue && npm i && npm run build
# 构建 Java
2021-12-13 17:53:40 +08:00
cd ../ && mvn clean && mvn clean package