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.
 
 
 
 
 
 

20 line
458 B

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