[Pkg-javascript-commits] [sockjs-client] 253/434: Use the npm-installed coffee, rather than relying on a global coffee
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:17 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 818a9b42780ed40c40c98412ec1240c0f8172823
Author: Michael Bridgen <mikeb at squaremobius.net>
Date: Tue Dec 6 17:32:54 2011 +0000
Use the npm-installed coffee, rather than relying on a global coffee
---
Makefile | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index a2c80b5..e44944f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,29 @@
.PHONY: all build tests test serve clean
+COFFEE:=./node_modules/.bin/coffee
+
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 > $@
+ @$(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 > $@
+ @$(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 > $@
+ @$(COFFEE) -v > /dev/null
+ $(COFFEE) bin/render.coffee --set-version $(VER) --minify --pretty lib/all.js > $@
tests/html/lib/sockjs.js: sockjs.js
cp $< $@
tests/html/lib/%.js: tests/html/src/%.coffee
- @coffee -v > /dev/null
- coffee -o tests/html/lib/ -c --bare $<
+ @$(COFFEE) -v > /dev/null
+ $(COFFEE) -o tests/html/lib/ -c --bare $<
build_tests: tests/html/lib/sockjs.js tests/html/lib/tests.js \
tests/html/lib/domtests.js tests/html/lib/endtoendtests.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