changeset 21:58825cbccd10

Added a Makefile.
author Atul Varma <varmaa@toolness.com>
date Thu, 05 Jun 2008 22:56:50 -0700
parents 6dc91d39b055
children 91746d1779b7
files Makefile test.py
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Thu Jun 05 22:56:50 2008 -0700
@@ -0,0 +1,5 @@
+all:
+	rst2html.py PythonForJsProgrammers.txt > PythonForJsProgrammers.html
+
+test:
+	python -c "import doctest; doctest.testfile('PythonForJsProgrammers.txt')"
--- a/test.py	Thu Jun 05 22:53:12 2008 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-import doctest
-
-if __name__ == "__main__":
-    doctest.testfile("PythonForJsProgrammers.txt")
-    print "Doctests passed."