Skip to content

Commit

Permalink
add deprecation notice to eosiocpp
Browse files Browse the repository at this point in the history
  • Loading branch information
b1bart committed Sep 17, 2018
1 parent 49d3596 commit 37a9677
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/eosiocpp.in
Expand Up @@ -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 ]]
Expand Down Expand Up @@ -185,6 +190,8 @@ case $key in
esac
done

print_deprecation_notice

if [[ "outname" == "$command" ]]; then
build_contract $@
elif [[ "newcontract" == "$command" ]]; then
Expand Down

0 comments on commit 37a9677

Please sign in to comment.