##// END OF EJS Templates
Changed %hist to default to NOT printing numbers, added -p and -o options....
Changed %hist to default to NOT printing numbers, added -p and -o options. -p: print python prompts before inputs -o: print output as well Together, these two make '%hist -op' an easy way to get doctest-valid sessions generated from prior input.

File last commit:

r2118:ec9810f7
r2441:0da36568
Show More
compile.py
19 lines | 397 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Script to check that all code in a directory compiles correctly.
Usage:
compile.py
This script verifies that all Python files in the directory where run, and all
of its subdirectories, compile correctly.
Before a release, call this script from the top-level directory.
"""
import sys
from toollib import compile_tree
if __name__ == '__main__':
compile_tree()