Przeglądaj źródła

增加build脚本

zhouhao 6 lat temu
rodzic
commit
2166eb1662
2 zmienionych plików z 4 dodań i 1 usunięć
  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