This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #101 from darinmorrison/master

Modify the makefile to fix interleave not renaming output and to prune dependencies after install
  • Loading branch information...
puffnfresh committed Jan 25, 2012
2 parents c3deb16 + 18aeef5 commit 5e02ecae5e7e8f773c97fcf52542850aa39c787d
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile
View
@@ -5,9 +5,10 @@ all:
deps:
npm install
+ npm prune
bundle:
- ./node_modules/interleave/bin/interleave -o bundled-roy.js interleaved-roy.js
+ ./node_modules/interleave/bin/interleave interleaved-roy.js
site: all bundle
[ -e roy.brianmckenna.org ] || mkdir roy.brianmckenna.org
@@ -20,8 +21,8 @@ extension:
$(MAKE) optimise-bundle DEST=misc/chrome-extension/
optimise-bundle:
- closure --js bundled-roy.js --js_output_file $(DEST)bundled-roy.js 2>/dev/null || \
- (echo "Closure not available - not minimising" && cp bundled-roy.js $(DEST))
+ closure --js dist/interleaved-roy.js --js_output_file $(DEST)bundled-roy.js 2>/dev/null || \
+ (echo "Closure not available - not minimising" && cp dist/interleaved-roy.js $(DEST)bundled-roy.js)
# Tests

0 comments on commit 5e02eca

Please sign in to comment.