2019-06-19 11:53:28 +00:00
|
|
|
all: clean dev-setup build-js-production
|
2018-04-06 19:03:36 +00:00
|
|
|
|
2019-02-24 19:20:12 +00:00
|
|
|
dev-setup: clean-dev npm-init
|
2018-04-24 07:40:05 +00:00
|
|
|
|
|
|
|
npm-init:
|
|
|
|
npm install
|
2018-04-06 19:03:36 +00:00
|
|
|
|
|
|
|
npm-update:
|
|
|
|
npm update
|
|
|
|
|
|
|
|
build-js:
|
|
|
|
npm run dev
|
|
|
|
|
|
|
|
build-js-production:
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
watch-js:
|
|
|
|
npm run watch
|
|
|
|
|
2018-04-24 07:40:05 +00:00
|
|
|
clean-dev:
|
|
|
|
rm -rf node_modules
|
2018-04-06 19:03:36 +00:00
|
|
|
|
2019-06-19 11:53:28 +00:00
|
|
|
clean:
|
|
|
|
rm -rf apps/accessibility/js/
|
|
|
|
rm -rf apps/comments/js/
|
|
|
|
rm -rf apps/files_sharing/js/dist/
|
|
|
|
rm -rf apps/files_trashbin/js/
|
|
|
|
rm -rf apps/files_versions/js/
|
|
|
|
rm -rf apps/oauth2/js/
|
2019-09-03 08:13:28 +00:00
|
|
|
rm -rf apps/systemtags/js/systemtags.*
|
2019-06-19 11:53:28 +00:00
|
|
|
rm -rf apps/twofactor_backupcodes/js
|
2019-09-03 08:13:28 +00:00
|
|
|
rm -rf apps/updatenotification/js/updatenotification.*
|
2019-06-19 11:53:28 +00:00
|
|
|
rm -rf apps/workflowengine/js/
|
|
|
|
rm -rf core/js/dist
|
|
|
|
rm -rf settings/js/vue-*
|
2019-09-03 08:13:28 +00:00
|
|
|
|
|
|
|
clean-git: clean
|
|
|
|
git checkout -- apps/accessibility/js/
|
|
|
|
git checkout -- apps/comments/js/
|
|
|
|
git checkout -- apps/files_sharing/js/dist/
|
|
|
|
git checkout -- apps/files_trashbin/js/
|
|
|
|
git checkout -- apps/files_versions/js/
|
|
|
|
git checkout -- apps/oauth2/js/
|
|
|
|
git checkout -- apps/systemtags/js/systemtags.*
|
|
|
|
git checkout -- apps/twofactor_backupcodes/js
|
|
|
|
git checkout -- apps/updatenotification/js/updatenotification.*
|
|
|
|
git checkout -- apps/workflowengine/js/
|
|
|
|
git checkout -- core/js/dist
|
|
|
|
git checkout -- settings/js/vue-*
|