[Pkg-javascript-commits] [node-findup-sync] 01/01: no minifying for nodejs

matthew pideil mpideil-guest at moszumanska.debian.org
Tue Apr 1 14:15:56 UTC 2014


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

mpideil-guest pushed a commit to branch master
in repository node-findup-sync.

commit 0e839b9c44c0390c91569d1359af72ba61c9dd63
Author: Matthew Pideil <matthewp_debian at teledetection.fr>
Date:   Tue Apr 1 14:05:34 2014 +0000

    no minifying for nodejs
---
 debian/control |  3 +--
 debian/install |  2 +-
 debian/rules   | 15 ---------------
 3 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 3f96f3f..99583e8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Matthew Pideil <matthewp_debian at teledetection.fr>
-Build-Depends: debhelper (>= 9.0.0),
- node-uglify | yui-compressor
+Build-Depends: debhelper (>= 9.0.0)
 Standards-Version: 3.9.5
 Homepage: https://github.com/cowboy/node-findup-sync
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-findup-sync.git
diff --git a/debian/install b/debian/install
index 8468caf..f90c7c5 100644
--- a/debian/install
+++ b/debian/install
@@ -1 +1 @@
-debian/build/*	/usr/lib/nodejs/
+lib/*	/usr/lib/nodejs/
diff --git a/debian/rules b/debian/rules
index 0a06015..f1c9e67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,21 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
 
 %:
 	dh $@
-
-override_dh_auto_clean:
-	rm -rf debian/build
-
-override_dh_auto_build:
-	dh_auto_build
-	if [ ! -d debian/build ]; \
-	then mkdir debian/build; \
-	fi; \
-	for _FILE in lib/*.js ; \
-	do \
-		cp $${_FILE} debian/build/; \
-		$(js-compressor)  -o debian/build/$$(basename $${_FILE} .js).min.js $${_FILE}; \
-	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-findup-sync.git



More information about the Pkg-javascript-commits mailing list