Permalink
Browse files

Fixing Makefile for gzip

  • Loading branch information...
1 parent e618aaa commit b9ca8fd18847f0b6b95b7eec8a2689e47989abde Paul Kinlan committed Sep 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
@@ -6,7 +6,7 @@ all: webintents/public/cache.manifest production
release: ./src/webintents.js ./src/json2.js ./src/base64.js
cat ./src/webintents.js ./src/json2.js ./src/base64.js | sed 's|// __WEBINTENTS_ROOT|$(RELEASE)|' > webintents.js
cp webintents.js webintents/public/webintents.js
- gzip webintents/public/webintents.js
+ gzip -f webintents/public/webintents.js
cp webintents.js webintents/public/webintents.js
cp webintents.js webintents/app/assets/javascripts/webintents.js
cp webintents.js widgets/lib/webintents.js
@@ -15,15 +15,15 @@ release: ./src/webintents.js ./src/json2.js ./src/base64.js
debug: ./src/webintents.js ./src/debug.js ./src/json2.js ./src/base64.js
cat ./src/debug.js ./src/webintents.js ./src/json2.js ./src/base64.js | sed 's|// __WEBINTENTS_ROOT|$(DEBUG)|' | sed 's|//DEBUG(|DEBUG(|' > webintents.js
cp webintents.js webintents/public/webintents.js
- gzip webintents/public/webintents.js
+ gzip -f webintents/public/webintents.js
cp webintents.js webintents/public/webintents.js
cp webintents.js widgets/lib/webintents.js
cp webintents.js tools/chrome/extensions/share/webintents.js
production: webintents/public/cache.manifest release
uglifyjs webintents.js > webintents/public/webintents.min.js
cp webintents/public/webintents.min.js webintents/app/assets/javascripts/
- gzip webintents/public/webintents.min.js
+ gzip -f webintents/public/webintents.min.js
uglifyjs webintents.js > webintents/public/webintents.min.js
webintents/public/webintents.js:

0 comments on commit b9ca8fd

Please sign in to comment.