Skip to content

Commit

Permalink
disable yui-compressor obfuscation, was causing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Jun 14, 2012
1 parent b1ead90 commit 138ee10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.deploy
Expand Up @@ -50,7 +50,7 @@ $(JSMIN_TARGET): $(JS_SRCFILES)
if ! which yui-compressor >/dev/null; then \
sudo apt-get install yui-compressor; \
fi; \
cat `perl -nE 'say $$1 if /src="(js\/[^"]+)/' $$HTMLFILE-debug.html` | yui-compressor --type js > $@; \
cat `perl -nE 'say $$1 if /src="(js\/[^"]+)/' $$HTMLFILE-debug.html` | yui-compressor --type js --preserve-semi --nomunge > $@; \
perl -pe 'BEGIN { undef $$/; }; s#<!-- js_source_files -->.*<!-- js_source_files --># <script type="text/javascript" src="$(JSMIN_TARGET)"></script>\n#ms' $$HTMLFILE-debug.html > $$HTMLFILE.html; \
fi \
done
Expand Down

0 comments on commit 138ee10

Please sign in to comment.