#!/usr/bin/env python import os import sys src_dir = os.path.join(os.path.dirname(__file__), '..') sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) from closure_linter import fixjsstyle if __name__ == '__main__': os.chdir(src_dir) fixjsstyle.main()