[DRE-commits] [ruby-rails-assets-perfect-scrollbar] 06/23: minimize js files
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Jun 30 12:04:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rails-assets-perfect-scrollbar.
commit 64919ca19f1bd567c9bbbe9b8c951870a3b05bfe
Author: Syam G Krishnan <syamgk01 at gmail.com>
Date: Sun Jun 28 22:02:25 2015 +0530
minimize js files
---
debian/rules | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d81794d..7f814bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,20 @@
#
# Uncomment to ignore some test failures (but the tests will run anyway).
# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
#
# If you need to specify the .gemspec (eg there is more than one)
#export DH_RUBY_GEMSPEC=gem.gemspec
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+ uglifyjs -o app/assets/javascripts/perfect-scrollbar/min/perfect-scrollbar.jquery.min.js \
+ app/assets/javascripts/perfect-scrollbar/perfect-scrollbar.jquery.js
+ uglifyjs -o app/assets/javascripts/perfect-scrollbar/min/perfect-scrollbar.min.js \
+ app/assets/javascripts/perfect-scrollbar/perfect-scrollbar.js
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f app/assets/javascripts/perfect-scrollbar/min/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-perfect-scrollbar.git
More information about the Pkg-ruby-extras-commits
mailing list