Skip to content

Commit

Permalink
Added disk usage stats to make jade.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 16, 2011
1 parent 8395258 commit 07fa084
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ test:
$(TESTS)

benchmark:
@node benchmarks/jade.js && \
node benchmarks/haml.js && \
node benchmarks/haml2.js && \
node benchmarks/ejs.js
@node benchmarks/jade.js \
&& node benchmarks/haml.js \
&& node benchmarks/haml2.js \
&& node benchmarks/ejs.js

jade.js: $(SRC)
@node support/compile.js $^

jade.min.js: jade.js
@uglifyjs $(UGLIFY_FLAGS) $< > $@
@uglifyjs $(UGLIFY_FLAGS) $< > $@ \
&& du jade.min.js \
&& du jade.js

clean:
rm -f jade.js
Expand Down

0 comments on commit 07fa084

Please sign in to comment.