[Pkg-javascript-commits] [node-mime-types] 11/19: override dh_auto_clean, dh_auto_build, dh_auto_test to handle mime-db
Leo Iannacone
l3on-guest at moszumanska.debian.org
Fri Oct 10 10:12:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
l3on-guest pushed a commit to branch master
in repository node-mime-types.
commit c2a1b43d5e8e6e2fef6ce693bd2cba0d45c7dc7b
Author: Leo Iannacone <l3on at ubuntu.com>
Date: Fri Oct 10 11:37:54 2014 +0200
override dh_auto_clean, dh_auto_build, dh_auto_test to handle mime-db
---
debian/rules | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/rules b/debian/rules
index 0c06312..8216452 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,14 @@
%:
dh $@
+
+override_dh_auto_clean:
+ cd node_modules/mime-db/ && rm db.json src/*.json
+
+override_dh_auto_build:
+ cd node_modules/mime-db/ && nodejs scripts/extensions
+ cd node_modules/mime-db/ && nodejs scripts/build
+
+override_dh_auto_test:
+ mocha -C --reporter spec --bail --check-leaks node_modules/mime-db/test/
+ mocha -C --reporter spec test/test.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mime-types.git
More information about the Pkg-javascript-commits
mailing list