瀏覽代碼

增加build脚本

zhouhao 6 年之前
父節點
當前提交
2166eb1662
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 2 1
      .gitignore
  2. 2 0
      build.sh

+ 2 - 1
.gitignore

@@ -20,4 +20,5 @@
 hs_err_pid*
 **/transaction-logs/
 pom.xml.versionsBackup
-build/
+build/
+!maven-wrapper.jar

+ 2 - 0
build.sh

@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+./mvnw install -Dgit.commit.hash=$(git rev-parse HEAD) -DskipTests=true