aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Cramer2013-04-29 10:37:20 -0700
committerDavid Cramer2013-04-29 10:37:20 -0700
commit1daa4aa588da9484ce72aa23ffe0af873d30f584 (patch)
treee80607b63ac8c4550578c8fba27fe1e582332ead /Makefile
parentbd1e5147b3b9b55c8198725b156be45d97448855 (diff)
downloaddjango-debug-toolbar-1daa4aa588da9484ce72aa23ffe0af873d30f584.tar.bz2
Use globally installed yuicompressor binary instead of arbitrary path
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 96eddf8..3631f34 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ test:
python runtests.py
compress_js:
- java -jar ~/bin/yuicompressor.jar debug_toolbar/static/debug_toolbar/js/jquery.js > debug_toolbar/static/debug_toolbar/js/toolbar.min.js
- java -jar ~/bin/yuicompressor.jar debug_toolbar/static/debug_toolbar/js/toolbar.js >> debug_toolbar/static/debug_toolbar/js/toolbar.min.js
+ yuicompressor debug_toolbar/static/debug_toolbar/js/jquery.js > debug_toolbar/static/debug_toolbar/js/toolbar.min.js
+ yuicompressor debug_toolbar/static/debug_toolbar/js/toolbar.js >> debug_toolbar/static/debug_toolbar/js/toolbar.min.js
compress_css:
- java -jar ~/bin/yuicompressor.jar --type css debug_toolbar/static/debug_toolbar/css/toolbar.css > debug_toolbar/static/debug_toolbar/css/toolbar.min.css
+ yuicompressor --type css debug_toolbar/static/debug_toolbar/css/toolbar.css > debug_toolbar/static/debug_toolbar/css/toolbar.min.css