mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
* Add in examples and notes on using PurgePrivateData - Update the configtx.yaml to enable the 2.5 capabillity - Added purge into the chancode - Added pruge into the application client code. Signed-off-by: Matthew B White <whitemat@uk.ibm.com> * Temporarily remove java cc test Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
25 lines
No EOL
532 B
Bash
Executable file
25 lines
No EOL
532 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
function print() {
|
|
GREEN='\033[0;32m'
|
|
NC='\033[0m'
|
|
echo
|
|
echo -e "${GREEN}${1}${NC}"
|
|
}
|
|
|
|
# remove the java asset-private-data until the publishing issues have been resolved
|
|
dirs=("$(find . -name "*-java" -type d -not -path '*/.*' -not -path '*/asset-transfer-private-data/*')")
|
|
for dir in $dirs; do
|
|
print "Linting $dir"
|
|
pushd $dir
|
|
|
|
if [[ -f "pom.xml" ]]; then
|
|
print "Running Maven Build"
|
|
mvn clean package
|
|
else
|
|
print "Running Gradle Build"
|
|
./gradlew build
|
|
fi
|
|
popd
|
|
done |