You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build-tools/runall.sh
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,18 @@
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
18
#
19
+
ARGCONFIRMED=false
20
+
21
+
whilegetopts":y" opt;do
22
+
case$optin
23
+
y)
24
+
ARGCONFIRMED=true
25
+
;;
26
+
\?)
27
+
echo"Invalid option: -$OPTARG">&2
28
+
;;
29
+
esac
30
+
done
19
31
20
32
continueprompt() {
21
33
whiletrue;do
@@ -35,7 +47,13 @@ fi
35
47
pushd"$MNEMONIC_HOME"|| { echo"the environment variable \$MNEMONIC_HOME contains invalid home directory of Mnemonic project.";exit 11; }
36
48
37
49
echo [INFO] Cleaning up and re-building...
38
-
git ls-files --error-unmatch pom.xml > /dev/null 2>&1&& continueprompt "Please make sure all source codes have already been checked in or backed up otherwise un-checked files would be purged"&& git clean -xdf > /dev/null
0 commit comments