MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / findCoffeescriptCompiler

Function findCoffeescriptCompiler

src/Debug/DebugMedia.py:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32# Try to find coffeescript compiler in path
33def findCoffeescriptCompiler():
34 coffeescript_compiler = None
35 try:
36 import distutils.spawn
37 coffeescript_compiler = helper.shellquote(distutils.spawn.find_executable("coffee")) + " --no-header -p"
38 except:
39 pass
40 if coffeescript_compiler:
41 return coffeescript_compiler
42 else:
43 return False
44
45
46# Generates: all.js: merge *.js, compile coffeescript, all.css: merge *.css, vendor prefix features

Callers 1

mergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected