diff options
| author | David Cramer | 2011-07-12 13:25:57 -0700 |
|---|---|---|
| committer | David Cramer | 2011-07-12 13:25:57 -0700 |
| commit | 59c7e176ca273a6797dbae245e36b52b4db0823c (patch) | |
| tree | e62fb9306bb9762a78ebc8c34cd31df1d5825e50 /Makefile | |
| parent | ed2cc66bf5dbd033057b2ae6782950e2b3b364fe (diff) | |
| download | django-debug-toolbar-59c7e176ca273a6797dbae245e36b52b4db0823c.tar.bz2 | |
Move makefile to project root
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..01f598b --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +# Make file to compress and join all JS files +all: compress_js compress_css + +compress_js: + java -jar ~/bin/yuicompressor.jar debug_toolbar/media/debug_toolbar/js/jquery.js > debug_toolbar/media/debug_toolbar/js/toolbar.min.js + java -jar ~/bin/yuicompressor.jar debug_toolbar/media/debug_toolbar/js/toolbar.js >> debug_toolbar/media/debug_toolbar/js/toolbar.min.js + +compress_css: + java -jar ~/bin/yuicompressor.jar --type css debug_toolbar/media/debug_toolbar/css/toolbar.css > debug_toolbar/media/debug_toolbar/css/toolbar.min.css |
