mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
The FabToken sample needs to be removed, as the FabToken code itself is being removed/disabled by Angelo De Caro due to it not being included in Fabric v2.0. Additionally, the FabToken sample is subject to sporadic CI failures, which we are trying to clean up. Signed-off-by: Simon Stone <sstone1@uk.ibm.com> Change-Id: Id434d384493f030d2407ca2f9d8687b0681a3723
54 lines
1.3 KiB
Bash
Executable file
54 lines
1.3 KiB
Bash
Executable file
#!/bin/bash -e
|
|
#
|
|
# Copyright IBM Corp All Rights Reserved
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# exit on first error
|
|
|
|
Parse_Arguments() {
|
|
while [ $# -gt 0 ]; do
|
|
case $1 in
|
|
--byfn_eyfn_Tests)
|
|
byfn_eyfn_Tests
|
|
;;
|
|
--fabcar_Tests)
|
|
fabcar_Tests
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
}
|
|
|
|
# run byfn,eyfn tests
|
|
byfn_eyfn_Tests() {
|
|
|
|
echo
|
|
echo " ____ __ __ _____ _ _ _____ __ __ _____ _ _ "
|
|
echo " | __ ) \ \ / / | ___| | \ | | | ____| \ \ / / | ___| | \ | | "
|
|
echo " | _ \ \ V / | |_ | \| | _____ | _| \ V / | |_ | \| | "
|
|
echo " | |_) | | | | _| | |\ | |_____| | |___ | | | _| | |\ | "
|
|
echo " |____/ |_| |_| |_| \_| |_____| |_| |_| |_| \_| "
|
|
|
|
./byfn_eyfn.sh
|
|
}
|
|
# run fabcar tests
|
|
fabcar_Tests() {
|
|
|
|
echo " #############################"
|
|
echo "npm version ------> $(npm -v)"
|
|
echo "node version ------> $(node -v)"
|
|
echo " #############################"
|
|
|
|
echo
|
|
echo " _____ _ ____ ____ _ ____ "
|
|
echo " | ___| / \ | __ ) / ___| / \ | _ \ "
|
|
echo " | |_ / _ \ | _ \ | | / _ \ | |_) | "
|
|
echo " | _| / ___ \ | |_) | | |___ / ___ \ | _ < "
|
|
echo " |_| /_/ \_\ |____/ \____| /_/ \_\ |_| \_\ "
|
|
|
|
./fabcar.sh
|
|
}
|
|
|
|
Parse_Arguments $@
|