UNPKG

413 BPlain TextView Raw
1#!/usr/bin/env python
2
3# snipped thanks to
4# http://stackoverflow.com/questions/279237/python-import-a-module-from-a-folder
5
6import os, sys, inspect
7
8cmd_subfolder = os.path.realpath(os.path.abspath(os.path.join(os.path.split(inspect.getfile( inspect.currentframe() ))[0],"gflags")))
9if cmd_subfolder not in sys.path:
10 sys.path.insert(0, cmd_subfolder)
11
12
13from closure_linter import fixjsstyle
14
15fixjsstyle.main()