[Pkg-owncloud-commits] [SCM] owncloud.git branch, master, updated. upstream/3.0.3-40-g7abaa18

Thomas Mueller thomas.mueller at tmit.eu
Wed May 9 23:12:16 UTC 2012


The following commit has been merged in the master branch:
commit 1034b7e24ec8a5e5d526d970ece448f714b8db77
Author: Thomas Mueller <thomas.mueller at tmit.eu>
Date:   Thu May 10 01:11:09 2012 +0200

    Minify ace.js

diff --git a/debian/rules b/debian/rules
index a179ac3..49b43f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,14 @@ override_dh_install:
 	rm debian/owncloud/usr/share/owncloud/core/js/jquery.infieldlabel.min.js
 	yui-compressor --type js debian/owncloud/usr/share/owncloud/3rdparty/js/chosen/chosen.jquery.js -o debian/owncloud/usr/share/owncloud/3rdparty/js/chosen/chosen.jquery.min.js
 	yui-compressor --type js debian/owncloud/usr/share/owncloud/core/js/jquery.infieldlabel.js -o debian/owncloud/usr/share/owncloud/core/js/jquery.infieldlabel.min.js
+	#
+	# TODO: remove source after minified
+	#
+
+	# Minify ace in app_texteditor
+	find debian/owncloud/usr/share/owncloud/apps/files_texteditor/js/aceeditor -type f | grep -v 'ace-uncompressed' | xargs -exec rm
+	yui-compressor --type js debian/owncloud/usr/share/owncloud/apps/files_texteditor/js/aceeditor/ace-uncompressed.js -o debian/owncloud/usr/share/owncloud/apps/files_texteditor/js/aceeditor/ace.js
+	rm debian/owncloud/usr/share/owncloud/apps/files_texteditor/js/aceeditor/ace-uncompressed.js
 
 	# Clean up the media app so that jquery-jplayer can be linked.
 	rm -rf debian/owncloud/usr/share/owncloud/apps/media/js/jQuery.jPlayer.2.1.0.source

-- 
owncloud.git



More information about the Pkg-owncloud-commits mailing list