[Pkg-javascript-commits] [jquery] 07/16: debian/rules: check syntax of dist/jquery.js right away
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Apr 9 17:32:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository jquery.
commit 74952dd852a0b6bc6f815d031a6d719f52a52ef1
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Apr 9 11:47:48 2016 -0300
debian/rules: check syntax of dist/jquery.js right away
---
debian/rules | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/rules b/debian/rules
index 6967902..425f6aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,8 @@ build.js: debian/build.js
dist/jquery.js: build.js $(source)
nodejs /usr/lib/nodejs/r.js -o build.js
sed -i -e 's/@DATE/$(timestamp)/; s/@VERSION/$(version)/' $@
+ @echo "Checking syntax of $@ ..."
+ @node --check $@ || (mv $@ $@.failed; false)
dist/jquery.min.js dist/jquery.min.map: dist/jquery.js
./debian/minify $^
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery.git
More information about the Pkg-javascript-commits
mailing list