aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Cramer2013-02-20 13:48:05 -0800
committerDavid Cramer2013-02-20 13:48:05 -0800
commit47b95b4dba3c91b6f1020ae70d973786a0d395a9 (patch)
tree753235d78646838754b5ede094378a9c859a4795 /Makefile
parent8d0245d51bf3dda12a89dd1b5b5e5bad69959519 (diff)
downloaddjango-debug-toolbar-47b95b4dba3c91b6f1020ae70d973786a0d395a9.tar.bz2
Basic make test command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f140dd0..96eddf8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
# Make file to compress and join all JS files
all: compress_js compress_css
+test:
+ pip install Django
+ 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