[Pkg-javascript-commits] [node-esprima] 05/09: Build with TypeScript
Julien Puydt
julien.puydt at laposte.net
Sat Oct 15 17:29:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-esprima.
commit 6f6f9d1daeedbaf3b53067a99a3d55ee75dd8210
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Thu Oct 6 10:44:08 2016 +0200
Build with TypeScript
---
debian/changelog | 1 +
debian/control | 2 +-
debian/rules | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 685a6cf..8ddeee2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
node-esprima (3.0.0+ds-1) unstable; urgency=medium
* New upstream release.
+ * Build with TypeScript.
-- Julien Puydt <julien.puydt at laposte.net> Sun, 04 Sep 2016 05:39:01 +0200
diff --git a/debian/control b/debian/control
index a25711a..48360d3 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 9), nodejs
+Build-Depends: debhelper (>= 9), nodejs, node-typescript
Standards-Version: 3.9.8
Homepage: http://esprima.org
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-esprima.git
diff --git a/debian/rules b/debian/rules
index 4feef32..abda8aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
%:
dh $@
+override_dh_auto_build:
+ tsc -p src
+
override_dh_fixperms:
dh_fixperms
chmod +x debian/node-esprima/usr/lib/nodejs/esprima/bin/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-esprima.git
More information about the Pkg-javascript-commits
mailing list