cleanup.sh 807 B

12345678910111213141516171819202122232425262728293031323334353637
  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. # CI
  10. rm -rf .github .gitlab
  11. rm .gitlab-ci.yml
  12. # linting
  13. # Since the .eslint-plugin-zammad folder is a dependency in package.json (required by assets:precompile), it cannot be removed.
  14. rm .rubocop.yml
  15. rm .stylelintrc.json .eslintignore .eslintrc .eslintrc.js .prettierrc.json
  16. rm coffeelint.json
  17. rm .overcommit.*
  18. # Yard
  19. rm .yardopts
  20. # developer manual
  21. rm -rf doc/developer_manual
  22. # Various development files
  23. rm -rf .dev
  24. # delete caches
  25. rm -rf tmp/*
  26. # Delete node_modules folder - only required during building
  27. rm -rf node_modules