Rewrite compile-coffee script in python.
This commit is contained in:
parent
85d7e7b034
commit
5c48f03dfe
4 changed files with 33 additions and 24 deletions
|
@ -68,3 +68,10 @@ def safe_mkdir(path):
|
|||
except OSError as e:
|
||||
if e.errno != errno.EEXIST:
|
||||
raise
|
||||
|
||||
|
||||
def get_node_path():
|
||||
node = os.path.join(os.path.dirname(__file__), '..', '..', 'node', 'node')
|
||||
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
||||
node += '.exe'
|
||||
return node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue