[Pkg-javascript-commits] [node-jquery] 01/06: build using grunt
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Nov 30 12:17:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-jquery.
commit 4e47feb7011a8a2e051d054c49f145a822560028
Author: Pirate Praveen <praveen at debian.org>
Date: Thu Nov 30 17:07:37 2017 +0530
build using grunt
---
debian/install | 3 ++-
debian/patches/series | 1 +
debian/rules | 13 +++++++++----
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/debian/install b/debian/install
index 899676c..50596c5 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1,2 @@
-node-jquery.js usr/lib/nodejs/
+dist usr/lib/nodejs/jquery
+package.json usr/lib/nodejs/jquery
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3a085a0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+skip-modules.patch
diff --git a/debian/rules b/debian/rules
index e613131..885533f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,12 @@
%:
dh $@
-override_dh_install:
- dh_install
- mv $(CURDIR)/debian/node-jquery/usr/lib/nodejs/node-jquery.js \
- $(CURDIR)/debian/node-jquery/usr/lib/nodejs/jquery.js
+override_dh_auto_build:
+ mkdir node_modules
+ ln -s /usr/lib/nodejs/grunt-babel node_modules
+ ln -s /usr/lib/nodejs/grunt-contrib-uglify node_modules
+ ln -s /usr/lib/nodejs/grunt-npmcopy node_modules
+ grunt build:*:* uglify remove_map_comment dist:*
+
+override_dh_auto_clean:
+ rm -rf node_modules dist
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-jquery.git
More information about the Pkg-javascript-commits
mailing list