[Pkg-javascript-commits] [node-grunt-contrib-coffee] 05/05: clean modified files

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Nov 19 12:18:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository node-grunt-contrib-coffee.

commit 09244259e57760029c0599222580c5ec3da00165
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Nov 19 17:47:30 2016 +0530

    clean modified files
---
 debian/patches/clean.patch | 76 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules               | 12 +++++---
 2 files changed, 83 insertions(+), 5 deletions(-)

diff --git a/debian/patches/clean.patch b/debian/patches/clean.patch
new file mode 100644
index 0000000..1ab7733
--- /dev/null
+++ b/debian/patches/clean.patch
@@ -0,0 +1,76 @@
+diff --git a/.travis.yml b/.travis.yml
+index 7cbda76..2eac80c 100644
+--- a/.travis.yml
++++ b/.travis.yml
+@@ -1,8 +1,18 @@
+ sudo: false
++
+ language: node_js
++
+ node_js:
+   - "0.10"
+   - "0.12"
+   - "4"
+   - "5"
++  - "6"
+   - "iojs"
++
++matrix:
++  fast_finish: true
++
++cache:
++  directories:
++    - node_modules
+diff --git a/appveyor.yml b/appveyor.yml
+index 22c561a..62725fb 100644
+--- a/appveyor.yml
++++ b/appveyor.yml
+@@ -1,29 +1,39 @@
+-# AppVeyor file
+-# http://www.appveyor.com/docs/appveyor-yml
++clone_depth: 10
+ 
+ version: "{build}"
+ 
+-clone_depth: 10
+-
++# What combinations to test
+ environment:
+   matrix:
+     - nodejs_version: "0.10"
++      platform: x86
+     - nodejs_version: "0.12"
++      platform: x86
++    - nodejs_version: "4"
++      platform: x64
+     - nodejs_version: "4"
++      platform: x86
+     - nodejs_version: "5"
++      platform: x86
++    - nodejs_version: "6"
++      platform: x86
+ 
+ install:
+-  - ps: Install-Product node $env:nodejs_version
++  - ps: Install-Product node $env:nodejs_version $env:platform
+   - npm install
+ 
+-build: off
+-
+ test_script:
++  # Output useful info for debugging
+   - node --version && npm --version
+-  - npm test
++  # We test multiple Windows shells because of prior stdout buffering issues
++  # filed against Grunt. https://github.com/joyent/node/issues/3584
++  - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
++  - cmd: npm test
++
++build: off
+ 
+ matrix:
+   fast_finish: true
+ 
+ cache:
+-  - 'node_modules -> package.json'              # local npm modules
++  - node_modules -> package.json
diff --git a/debian/rules b/debian/rules
index de57af0..69416c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,11 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
+override_dh_auto_clean:
+	dh_auto_clean
+	if patch -f --dry-run -R -i debian/patches/clean.patch; then \
+	patch -R -i debian/patches/clean.patch; fi
+	rm -rf tmp
 
+override_dh_auto_test:
+	grunt test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-grunt-contrib-coffee.git



More information about the Pkg-javascript-commits mailing list