未验证 提交 2627be02 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #5697 from EOSIO/feature/deprecation-notice-on-eosiocpp

Add deprecation notice to eosiocpp
......@@ -150,6 +150,11 @@ function print_help {
echo " Generate the ABI specification file [EXPERIMENTAL]"
}
function print_deprecation_notice {
echo -e "\033[0;33mWARNING: this tool is deprecated and will be removed in a future release\033[0m" 1>&2
echo -e "\033[0;33mPlease consider using the EOSIO.CDT (https://github.com/EOSIO/eosio.cdt/)\033[0m" 1>&2
}
command=""
while [[ $# -gt 1 ]]
......@@ -185,6 +190,8 @@ case $key in
esac
done
print_deprecation_notice
if [[ "outname" == "$command" ]]; then
build_contract $@
elif [[ "newcontract" == "$command" ]]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册