[Pkg-javascript-commits] [sockjs-client] 129/434: Check if coffee is installed before running command. Prevents producing empty files when node isn't there.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:08 UTC 2014


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

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 656c1f666eef4d4b74e08380cae96b27be858749
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Tue Sep 6 15:48:31 2011 +0100

    Check if coffee is installed before running command. Prevents producing empty files when node isn't there.
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 6846450..4641ae9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,12 +5,15 @@ all: sockjs.js
 build: sockjs.js sockjs.min.js
 
 sockjs.js: lib/*js version
+	@coffee -v > /dev/null
 	coffee bin/render.coffee --set-version $(VER) lib/all.js > $@
 
 sockjs.min.js: lib/*js version
+	@coffee -v > /dev/null
 	coffee bin/render.coffee --set-version $(VER) --minify lib/all.js > $@
 
 sockjs.pretty.js: lib/*js version
+	@coffee -v > /dev/null
 	coffee bin/render.coffee --set-version $(VER) --minify --pretty lib/all.js > $@
 
 tests/html/lib/sockjs.js: sockjs.js

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



More information about the Pkg-javascript-commits mailing list