clean.sh 1.0 KB

1234567891011121314151617181920
  1. # clean input directories to make sure there's nothing left from previous run
  2. rm -rfv ./build_directory/features/com.intel.sgx.build.driver
  3. rm -fv build_directory/*.properties
  4. rm -fv build_directory/*.xml
  5. rm -fv build_directory/plugins/com.intel.sgx/build.xml
  6. rm -fv build_directory/plugins/com.intel.sgx.userguide/build.xml
  7. rm -rfv build_directory/plugins/com.intel.sgx/bin
  8. rm -rfv build_directory/plugins/com.intel.sgx.userguide/bin
  9. rm -rfv build_directory/plugins/com.intel.sgx.source_1.0.0.*
  10. rm -rfv build_directory/features/com.intel.sgx.source
  11. rm -fv build_directory/features/com.intel.sgx.feature/build.xml
  12. rm -fv build_directory/features/com.intel.sgx.feature/*.zip
  13. rm -rfv build_directory/nestedJars
  14. rm -rfv build_directory/updatesite/sgx-eclipse-plugin
  15. find . -name "*.zip" ! -name "eclipse_mars.v4.5.1_x64.zip" | xargs rm -rfv
  16. find . -name "javaCompiler*" | xargs rm -rfv
  17. find . -name "@*" | xargs rm -rfv
  18. find build_directory -maxdepth 1 -mindepth 1 | grep -v "features" | grep -v "plugins" | grep -v "sites" | grep -v "updatesite" | xargs rm -frv