diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2009-04-03 21:26:42 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2009-04-03 21:26:42 +0200 |
| commit | 361122eb22d5681c58dac731009e4814b3dd5fa5 (patch) | |
| tree | b096496bc9c6b8febe092d0aefd56de1a4f8f4a0 /Makefile | |
| download | sqlparse-361122eb22d5681c58dac731009e4814b3dd5fa5.tar.gz | |
Initial import.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..868043f --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +# Makefile to simplify some common development tasks. +# Run 'make help' for a list of commands. + +PYTHON=`which python` + +default: help + +help: + @echo "Available commands:" + @sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort + +test: + $(PYTHON) tests/run_tests.py + +clean: + $(PYTHON) setup.py clean + find . -name '*.pyc' -delete + find . -name '*~' -delete
\ No newline at end of file |
