Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. all: clean dev-setup build-js-production
  2. dev-setup: clean-dev npm-init
  3. npm-init:
  4. npm install
  5. npm-update:
  6. npm update
  7. build-js:
  8. npm run dev
  9. build-js-production:
  10. npm run build
  11. watch-js:
  12. npm run watch
  13. clean-dev:
  14. rm -rf node_modules
  15. clean:
  16. rm -rf apps/accessibility/js/
  17. rm -rf apps/comments/js/
  18. rm -rf apps/files_sharing/js/dist/
  19. rm -rf apps/files_trashbin/js/
  20. rm -rf apps/files_versions/js/
  21. rm -rf apps/oauth2/js/
  22. rm -rf apps/systemtags/js/systemtags.*
  23. rm -rf apps/twofactor_backupcodes/js
  24. rm -rf apps/updatenotification/js/updatenotification.*
  25. rm -rf apps/workflowengine/js/
  26. rm -rf core/js/dist
  27. rm -rf settings/js/vue-*
  28. clean-git: clean
  29. git checkout -- apps/accessibility/js/
  30. git checkout -- apps/comments/js/
  31. git checkout -- apps/files_sharing/js/dist/
  32. git checkout -- apps/files_trashbin/js/
  33. git checkout -- apps/files_versions/js/
  34. git checkout -- apps/oauth2/js/
  35. git checkout -- apps/systemtags/js/systemtags.*
  36. git checkout -- apps/twofactor_backupcodes/js
  37. git checkout -- apps/updatenotification/js/updatenotification.*
  38. git checkout -- apps/workflowengine/js/
  39. git checkout -- core/js/dist
  40. git checkout -- settings/js/vue-*