1 #!/usr/bin/env python 2 import os 3 import sys 4 5 src_dir = os.path.join(os.path.dirname(__file__), '..') 6 7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) 8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) 9 10 11 from closure_linter import fixjsstyle 12 if __name__ == '__main__': 13 os.chdir(src_dir) 14 fixjsstyle.main() 15