cleanup.sh 978 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/bin/bash
  2. set -eux
  3. rm app/assets/javascripts/app/controllers/layout_ref.coffee
  4. rm -rf app/assets/javascripts/app/views/layout_ref/
  5. # tests
  6. rm -rf test spec app/frontend/tests app/frontend/cypress .cypress
  7. find app/frontend/ -type d -name __tests__ -exec rm -rf {} +
  8. rm .rspec
  9. # Remove our customized .yarnrc to let yarn use the global cache
  10. # instead of .yarn/cache which would go into the packages.
  11. rm .yarnrc
  12. rm -rf .yarn/cache
  13. # CI
  14. rm -rf .github .gitlab
  15. rm .gitlab-ci.yml
  16. # linting
  17. # Since the .eslint-plugin-zammad folder is a dependency in package.json (required by assets:precompile), it cannot be removed.
  18. rm .rubocop.yml
  19. rm -rf .rubocop
  20. rm .stylelintrc.json .eslintignore .eslintrc .eslintrc.js .prettierrc.json
  21. rm coffeelint.json
  22. rm -rf .coffeelint
  23. rm .overcommit.*
  24. # misc
  25. rm .codeclimate.yml
  26. # Yard
  27. rm .yardopts
  28. rm -rf .yard
  29. # developer manual
  30. rm -rf doc/developer_manual
  31. # Delete node_modules folder - only required during building
  32. rm -rf node_modules