We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac90d2 commit b54d8bbCopy full SHA for b54d8bb
fabric-chaincode-docker/build.sh
@@ -1,7 +1,12 @@
1
#!/bin/bash
2
3
+TMP_DIR=$(mktemp -d)
4
+
5
buildGradle() {
- cd "$1" > /dev/null
6
+ echo "Copying from $1 to ${TMP_DIR}"
7
+ cd $1
8
+ tar cf - . | (cd ${TMP_DIR}; tar xf -)
9
+ cd ${TMP_DIR}
10
echo "Gradle build"
11
gradle build shadowJar -x test
12
retval=$?
@@ -17,7 +22,10 @@ buildGradle() {
17
22
}
18
23
19
24
buildMaven() {
20
25
26
27
28
21
29
echo "Maven build"
30
mvn -B compile package -DskipTests -Dmaven.test.skip=true
31
0 commit comments