Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from HBOCodeLabs/jstamerj/installfix
Browse files Browse the repository at this point in the history
Fix package installation
  • Loading branch information
Jeff Stamerjohn authored and Jeff Stamerjohn committed May 1, 2013
2 parents 87f526a + eea0346 commit 9d9db26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/task.mk
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
COFFEE = ./node_modules/.bin/coffee
COFFEE = coffee
WATCH = $(COFFEE) ./tools/watch.coffee

LIBDIR = lib
SRCDIR = src

SRC = $(wildcard $(SRCDIR)/*.coffee)

LIB = $(SRC:$(SRCDIR)/%.coffee=$(LIBDIR)/%.js)

.SUFFIXES: .coffee .js
Expand All @@ -19,7 +20,7 @@ $(LIBDIR):
@mkdir -p "$@"

$(LIBDIR)/%.js: $(SRCDIR)/%.coffee $(LIBDIR)
$(COFFEE) -j < "$<" > "$@"
$(COFFEE) -s -p < "$<" > "$@"

clean:
@rm -r $(LIBDIR)
Expand Down

0 comments on commit 9d9db26

Please sign in to comment.