cleanup.sh 852 B

123456789101112131415161718192021222324252627282930313233343536
  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
  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 .stylelintrc.json .eslintignore .eslintrc .eslintrc.js .prettierrc.json
  20. rm coffeelint.json
  21. rm .overcommit.*
  22. # Yard
  23. rm .yardopts
  24. # developer manual
  25. rm -rf doc/developer_manual
  26. # Various development files
  27. rm -rf .dev