From 92d0019cc198404c3da035c5bf29ade0ba0d2087 Mon Sep 17 00:00:00 2001 From: horsepower Date: Tue, 6 Aug 2024 19:18:00 +0800 Subject: [PATCH] init --- template/run.bat | 4 ++++ template/run.sh | 5 +++++ 2 files changed, 9 insertions(+) create mode 100755 template/run.bat create mode 100755 template/run.sh diff --git a/template/run.bat b/template/run.bat new file mode 100755 index 0000000..e9956c1 --- /dev/null +++ b/template/run.bat @@ -0,0 +1,4 @@ +@echo off +cd /d %~dp0 + +.\mvnw.cmd -Dstyle.color=always spring-boot:run %* diff --git a/template/run.sh b/template/run.sh new file mode 100755 index 0000000..9d027d7 --- /dev/null +++ b/template/run.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +cd $(dirname $0) + +./mvnw -Dstyle.color=always spring-boot:run $@