From d11eadfa98b93a290c98386a258af8bd7e636fc2 Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Mon, 21 Sep 2020 17:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=AF=E5=8A=A8=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 run.sh diff --git a/run.sh b/run.sh new file mode 100755 index 00000000..dac8c111 --- /dev/null +++ b/run.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +./mvnw clean package -Dmaven.test.skip=true -Dmaven.build.timestamp="$(date "+%Y-%m-%d %H:%M:%S")" +if [ $? -ne 0 ];then + echo "构建失败!" +else + java -jar "$(pwd)/jetlinks-standalone/target/jetlinks-standalone.jar" +fi \ No newline at end of file