You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 line
271 B

  1. TIMEFORMAT=%3lR
  2. SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
  3. pushd $SCRIPTPATH > /dev/null
  4. time clang++ src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
  5. echo ""
  6. pushd ./bin > /dev/null
  7. time ./slime --run-tests
  8. popd > /dev/null
  9. popd > /dev/null
  10. unset TIMEFORMAT