cleanup.sh 778 B

1234567891011121314151617181920212223242526272829303132
  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. rm app/assets/javascripts/app/controllers/karma.coffee
  6. # tests
  7. rm -rf test spec app/frontend/tests .cypress
  8. find app/frontend/ -type d -name __tests__ -exec rm -rf {} +
  9. rm .rspec
  10. # Storybook
  11. rm -rf .storybook
  12. find app/frontend/ -name '*.stories.ts' -exec rm {} +
  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.yml
  24. # misc
  25. rm .codeclimate.yml