aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/media/Makefile
diff options
context:
space:
mode:
authorRob Hudson2008-10-02 22:50:20 -0700
committerRob Hudson2008-10-02 22:50:20 -0700
commiteead4ac0990374d8727157d42026994d68fe577c (patch)
treed5803dc22e78b0282386623e62a6a9ef14f4801c /debug_toolbar/media/Makefile
parent60e49ecf7c800cc6001ac0e3112434a6f931bcd6 (diff)
downloaddjango-debug-toolbar-eead4ac0990374d8727157d42026994d68fe577c.tar.bz2
Adding compressed JS and CSS, and a Makefile to generate them using YUI Compressor
Diffstat (limited to 'debug_toolbar/media/Makefile')
-rw-r--r--debug_toolbar/media/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/debug_toolbar/media/Makefile b/debug_toolbar/media/Makefile
new file mode 100644
index 0000000..7f8f2b2
--- /dev/null
+++ b/debug_toolbar/media/Makefile
@@ -0,0 +1,8 @@
+# Make file to compress and join all JS files
+all: compress_js compress_css
+
+compress_js:
+ java -jar ~/bin/yuicompressor.jar toolbar.js > toolbar.min.js
+
+compress_css:
+ java -jar ~/bin/yuicompressor.jar --type css toolbar.css > toolbar.min.css