[Pkg-javascript-commits] [node-umd] 04/18: First build

Bastien Roucariès rouca at moszumanska.debian.org
Mon Apr 17 07:38:17 UTC 2017


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

rouca pushed a commit to tag debian-3.0.1+ds-1
in repository node-umd.

commit bc00f948a9098cd475ac3871d1bba342406b41bb
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Apr 14 13:51:45 2017 +0200

    First build
---
 debian/clean   | 2 ++
 debian/control | 7 +++++--
 debian/rules   | 6 +++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..ff2b902
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+index.js
+template.min.js
diff --git a/debian/control b/debian/control
index e699864..5e9351e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,10 @@ Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
  debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , nodejs (>= 4.7)
+ , dos2unix
+ , node-uglify
+ , node-brfs
 Standards-Version: 3.9.8
 Homepage: https://github.com/ForbesLindesay/umd
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-umd.git
@@ -16,7 +19,7 @@ Package: node-umd
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 4.7)
 Description: Universal Module Definition for use in automated build systems
  FIX_ME long description
  .
diff --git a/debian/rules b/debian/rules
index de57af0..15b825d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,11 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_build:
+	uglifyjs template.js > template.min.js
+	dos2unix template.min.js
+	brfs source.js > index.js
+	dos2unix index.js
 
 #override_dh_auto_test:
 

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



More information about the Pkg-javascript-commits mailing list