uraeus 0.1.2

Command line utilities to check StarkNet contracts written in Cairo.
Documentation
#!/bin/bash

echo "Pre Push Hook"

echo -e "\n# cargo test"

diff=$(cargo test)
result=$?

if [[ ${result} -ne 0 ]] ; then
    cat <<\EOF
There are some test failing, run `cargo test` first.
EOF
    exit 1
fi

echo ""

exit 0