1 Star 0 Fork 583

aaabackup/light-task-scheduler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 875 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
VERSION="1.7.2-SNAPSHOT"
LTS_BIN="${BASH_SOURCE-$0}"
LTS_BIN="$(dirname "${LTS_BIN}")"
LTS_Bin_Dir="$(cd "${LTS_BIN}"; pwd)"
cd $LTS_Bin_Dir
mvn clean install -U -DskipTests
Dist_Bin_Dir="$LTS_Bin_Dir/dist/lts-$VERSION-bin"
mkdir -p $Dist_Bin_Dir
Dist_Bin_Dir="$(cd "$(dirname "${Dist_Bin_Dir}/.")"; pwd)"
mkdir -p $Dist_Bin_Dir
# 打包
Startup_Dir="$LTS_Bin_Dir/lts-startup/"
cd $Startup_Dir
mvn clean assembly:assembly -DskipTests -Pdefault
cp -rf $Startup_Dir/target/lts-bin/lts/* $Dist_Bin_Dir
mkdir -p $Dist_Bin_Dir/war/jetty/lib
mvn clean assembly:assembly -DskipTests -Plts-admin
cp -rf $Startup_Dir/target/lts-bin/lts/lib $Dist_Bin_Dir/war/jetty
cp -rf $LTS_Bin_Dir/lts-admin/target/lts-admin-$VERSION.war $Dist_Bin_Dir/war/lts-admin.war
cd $LTS_Bin_Dir/dist
zip -r lts-$VERSION-bin.zip lts-$VERSION-bin/*
rm -rf lts-$VERSION-bin
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/aaabackup/light-task-scheduler.git
git@gitee.com:aaabackup/light-task-scheduler.git
aaabackup
light-task-scheduler
light-task-scheduler
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385