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.
 
 
 
 
 
 

19 lines
355 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. echo ""
  7. pushd ./bin > /dev/null
  8. time ./slime --run-tests
  9. echo ""
  10. echo "generating docs"
  11. time ./slime generate-docs.slime
  12. popd > /dev/null
  13. popd > /dev/null
  14. unset TIMEFORMAT