[Pkg-javascript-commits] [select2.js] 07/11: disable sass tasks
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Dec 14 15:07:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository select2.js.
commit d586b19eefddabc0760fa6a6c6e4877674597aaf
Author: Pirate Praveen <praveen at debian.org>
Date: Thu Dec 14 20:19:17 2017 +0530
disable sass tasks
---
debian/patches/use-system-tasks.patch | 13 ++++++++++++-
debian/rules | 2 +-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/debian/patches/use-system-tasks.patch b/debian/patches/use-system-tasks.patch
index 28b278b..0e902ce 100644
--- a/debian/patches/use-system-tasks.patch
+++ b/debian/patches/use-system-tasks.patch
@@ -1,6 +1,8 @@
+use tasks from global path and disable sass tasks (grunt-sass not packaged)
+
--- a/Gruntfile.js
+++ b/Gruntfile.js
-@@ -324,22 +324,12 @@
+@@ -324,29 +324,18 @@
}
});
@@ -28,3 +30,12 @@
grunt.registerTask('compile', [
'requirejs:dist', 'requirejs:dist.full', 'requirejs:i18n',
+- 'concat:dist', 'concat:dist.full',
+- 'sass:dev'
++ 'concat:dist', 'concat:dist.full'
+ ]);
+- grunt.registerTask('minify', ['uglify', 'sass:dist']);
++ grunt.registerTask('minify', ['uglify']);
+ grunt.registerTask('test', ['connect:tests', 'qunit', 'jshint']);
+
+ var ciTasks = [];
diff --git a/debian/rules b/debian/rules
index 1f04ab5..5f453ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
dh $@
override_dh_auto_build:
- grunt --force
+ grunt
override_dh_auto_clean:
dh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/select2.js.git
More information about the Pkg-javascript-commits
mailing list