From 2a70655c98eac9eb9ee706f99bf7cfb96aa32b5e Mon Sep 17 00:00:00 2001 From: wing328 Date: Mon, 15 May 2017 15:37:05 +0800 Subject: [PATCH] add warning message for run-all-petstore --- bin/run-all-petstore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/run-all-petstore b/bin/run-all-petstore index 715287e1582..be5901e0697 100755 --- a/bin/run-all-petstore +++ b/bin/run-all-petstore @@ -1,4 +1,12 @@ #!/bin/bash -e +# this bash script will loop through all the .sh files under bin +# execute the script and check the result (exit code) to see if +# there's any error + +echo "IMPORTANT: this script should be run by the CI (e.g. Shippable) only. There's no need to run this script to update Petstore samples for all generators." +echo "Please press CTRL+C to stop or the script will continue in 10 seconds." + +sleep 10 for SCRIPT in ./bin/*.sh do