[DRE-commits] [ruby-jquery-turbolinks] 03/15: compile coffee script, minifie js
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Jul 15 15:38:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-jquery-turbolinks.
commit d64cd23c03e162855498049b7e9aaa5b1fdcf96b
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Jul 15 20:12:06 2015 +0530
compile coffee script, minifie js
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 57b4299..399633a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,10 @@
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_autobuild:
+ coffee -c src/jquery.turbolinks.coffee -o vendor/assets/javascripts/jquery.turbolinks.js
+ uglifyjs -o vendor/assets/javascripts/jquery.turbolinks.min.js vendor/assets/javascripts/jquery.turbolinks.js
+
+override_dh_auto_clean:
+ rm -rf vendor/assets/javascripts/jquery.turbolinks*.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-jquery-turbolinks.git
More information about the Pkg-ruby-extras-commits
mailing list