This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#!/bin/bash
#该脚本为私有化脚本,打包成内含网页的product-report-starter放在内网私服
echo'choose deploy type [1/2]'
echo'1:deploy snapshot'
echo'2:deploy release'
read choose
#判断node.js mvn是否存在
command -v npm >/dev/null 2>&1||{echo >&2"I require node.js v14.16.0+ but it's not installed. Aborting."; sleep 5;exit 1;}
command -v mvn >/dev/null 2>&1||{echo >&2"I require maven 3.5 + but it's not installed. Aborting."; sleep 5;exit 1;}