diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 23:04:35 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-30 23:04:35 +0200 |
commit | 32f2759945521129e00a7cd4933682ff63d9440f (patch) | |
tree | 639afa8d9750df4fcb68f31fae1f171d1dda539c | |
parent | 35d0d8750e579c40a05f46c0e29cafce9123ae60 (diff) |
minimize appstore build
-rw-r--r-- | Makefile | 78 | ||||
-rw-r--r-- | templates/main.php | 13 | ||||
-rw-r--r-- | templates/part.listfolder.php | 2 |
3 files changed, 81 insertions, 12 deletions
@@ -16,14 +16,84 @@ dist: clean appstore: clean mkdir -p $(source_dir) tar cvzf $(source_dir)/$(package_name).tar.gz $(project_dir) \ - --exclude-vcs --exclude=$(project_dir)/build/artifacts \ + --exclude-vcs \ + --exclude=$(project_dir)/build/artifacts \ --exclude=$(project_dir)/js/node_modules appstore: clean mkdir -p $(appstore_dir) tar cvzf $(appstore_dir)/$(package_name).tar.gz $(project_dir) \ - --exclude-vcs --exclude=$(project_dir)/build/artifacts \ + --exclude-vcs \ + --exclude=$(project_dir)/build/artifacts \ --exclude=$(project_dir)/js/node_modules \ + --exclude=$(project_dir)/js/.bowerrc \ + --exclude=$(project_dir)/js/.jshintrc \ + --exclude=$(project_dir)/js/Gruntfile.js \ + --exclude=$(project_dir)/js/*.json \ + --exclude=$(project_dir)/js/*.conf.js \ + --exclude=$(project_dir)/js/*.log \ + --exclude=$(project_dir)/js/README.md \ + --exclude=$(project_dir)/js/.bowerrc \ + --exclude=$(project_dir)/js/app \ + --exclude=$(project_dir)/js/controller \ + --exclude=$(project_dir)/js/coverage \ + --exclude=$(project_dir)/js/directive \ + --exclude=$(project_dir)/js/filter \ + --exclude=$(project_dir)/js/gui \ + --exclude=$(project_dir)/js/service \ + --exclude=$(project_dir)/js/utility \ --exclude=$(project_dir)/js/tests \ - --exclude=$(project_dir)/travis \ - --exclude=$(project_dir)/tests + --exclude=$(project_dir)/js/vendor/jquery \ + --exclude=$(project_dir)/js/vendor/angular-mocks \ + --exclude=$(project_dir)/js/vendor/angular/angular.js \ + --exclude=$(project_dir)/js/vendor/angular/angular.min.js.gzip \ + --exclude=$(project_dir)/js/vendor/angular/angular.min.js.map \ + --exclude=$(project_dir)/js/vendor/angular-animate/angular-animate.js \ + --exclude=$(project_dir)/js/vendor/angular-animate/angular-animate.min.js.map \ + --exclude=$(project_dir)/js/vendor/angular-route/angular-route.js \ + --exclude=$(project_dir)/js/vendor/angular-route/angular-route.min.js.map \ + --exclude=$(project_dir)/js/vendor/angular-sanitize/angular-sanitize.js \ + --exclude=$(project_dir)/js/vendor/angular-sanitize/angular-sanitize.min.js.map \ + --exclude=$(project_dir)/js/vendor/momentjs/lang \ + --exclude=$(project_dir)/js/vendor/momentjs/moment.js \ + --exclude=$(project_dir)/js/vendor/momentjs/min/langs.js \ + --exclude=$(project_dir)/js/vendor/momentjs/min/langs.min.js \ + --exclude=$(project_dir)/js/vendor/momentjs/min/moment.min.js \ + --exclude=$(project_dir)/js/vendor/momentjs/min/moment-with-langs.js \ + --exclude=$(project_dir)/js/vendor/traceur-runtime/traceur-runtime.js \ + --exclude=$(project_dir)/js/vendor/traceur-runtime/traceur-runtime.min.map \ + --exclude=$(project_dir)/.travis.yml \ + --exclude=$(project_dir)/.scrutinizer.yml \ + --exclude=$(project_dir)/Makefile \ + --exclude=$(project_dir)/tests \ + --exclude=$(project_dir)/3rdparty/simplepie/README.markdown \ + --exclude=$(project_dir)/3rdparty/simplepie/tests \ + --exclude=$(project_dir)/3rdparty/simplepie/build \ + --exclude=$(project_dir)/3rdparty/simplepie/compatibility_test \ + --exclude=$(project_dir)/3rdparty/simplepie/demo \ + --exclude=$(project_dir)/3rdparty/simplepie/idn \ + --exclude=$(project_dir)/3rdparty/simplepie/.travis.yml \ + --exclude=$(project_dir)/3rdparty/simplepie/composer.json \ + --exclude=$(project_dir)/3rdparty/simplepie/db.sql \ + --exclude=$(project_dir)/3rdparty/simplepie/phpunit.xml.dist \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/.gitattributes \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/composer.json \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/Doxyfile \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/FOCUS \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/INSTALL* \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/NEWS \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/phpdoc.ini \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/README \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/TODO \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/VERSION \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/WHATSNEW \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/WYSIWYG \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/art \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/benchmarks \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/configdoc \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/docs \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/extras \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/maintenance \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/plugins \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/smoketests \ + --exclude=$(project_dir)/3rdparty/htmlpurifier/tests diff --git a/templates/main.php b/templates/main.php index f7eb60da0..37f707118 100644 --- a/templates/main.php +++ b/templates/main.php @@ -1,11 +1,10 @@ <?php -\OCP\Util::addScript('news', 'vendor/traceur-runtime/traceur-runtime'); -\OCP\Util::addScript('news', 'vendor/angular/angular'); -\OCP\Util::addScript('news', 'vendor/angular-route/angular-route'); -\OCP\Util::addScript('news', 'vendor/angular-sanitize/angular-sanitize'); -\OCP\Util::addScript('news', 'vendor/angular-animate/angular-animate'); -\OCP\Util::addScript('news', 'vendor/momentjs/moment'); -\OCP\Util::addScript('news', 'vendor/momentjs/min/langs'); +\OCP\Util::addScript('news', 'vendor/traceur-runtime/traceur-runtime.min'); +\OCP\Util::addScript('news', 'vendor/angular/angular.min'); +\OCP\Util::addScript('news', 'vendor/angular-route/angular-route.min'); +\OCP\Util::addScript('news', 'vendor/angular-sanitize/angular-sanitize.min'); +\OCP\Util::addScript('news', 'vendor/angular-animate/angular-animate.min'); +\OCP\Util::addScript('news', 'vendor/momentjs/min/moment-with-langs.min'); \OCP\Util::addScript('news', 'vendor/bootstrap/tooltip'); \OCP\Util::addScript('news', 'build/app'); diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php index 3840aa85b..9aecb58c4 100644 --- a/templates/part.listfolder.php +++ b/templates/part.listfolder.php @@ -9,7 +9,7 @@ ng-show="folderBusinessLayer.isVisible(folder.id) || !folder.id" class="folder" data-id="{{ folder.id }}" - droppable> + news-droppable> <button class="collapse" ng-hide="folder.editing" title="<?php p($l->t('Collapse'));?>" |