cleanup.sh 927 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. # Histoire
  10. find app/frontend/ -name '*.story.vue' -exec rm {} +
  11. # Remove our customized .yarnrc to let yarn use the global cache
  12. # instead of .yarn/cache which would go into the packages.
  13. rm .yarnrc
  14. rm -rf .yarn/cache
  15. # CI
  16. rm -rf .github .gitlab
  17. rm .gitlab-ci.yml
  18. # linting
  19. # Since the .eslint-plugin-zammad folder is a dependency in package.json (required by assets:precompile), it cannot be removed.
  20. rm .rubocop.yml
  21. rm -rf .rubocop
  22. rm .stylelintrc.json .eslintignore .eslintrc .eslintrc.js .prettierrc.json
  23. rm coffeelint.json
  24. rm -rf .coffeelint
  25. rm .overcommit.*
  26. # misc
  27. rm .codeclimate.yml
  28. # developer manual
  29. rm -rf doc/developer_manual