Ticket #3275: clean-workspaces-v2.diff

File clean-workspaces-v2.diff, 643 bytes (added by otero, 9 years ago)

Clean workspaces v2 patch

  • clean-workspaces.sh

     
    3535(cd ../premake/premake4/build/gmake.macosx && ${MAKE} clean)
    3636(cd ../premake/premake4/build/gmake.unix && ${MAKE} clean)
    3737
     38echo "Cleaning test files..."
     39# Delete .cpp test files inside source directory, avoiding headers and the special file
     40# test_setup.cpp used in compiling time
     41(find ../../source -name "test_*.cpp" -type f -not -name "test_setup.cpp" -exec rm {} \;)
     42
    3843echo "Cleaning build output..."
    3944
    4045# Remove workspaces/gcc if present