def compile_deps(path, config):
files, root = deps.get(path)
config['root'] = root
config['file'] = path
autoload_frameworks(config)
struct = config["output"]["structure"]
if not struct or struct == "nested":
return compile.nested(files, config)
elif type(struct) is list and len(struct) is 2 and struct[0] == "nested":
return compile.nested(files, config, struct[1])
elif struct == "flat":
return compile.flat(files, config)
else:
sublime.error_message(u"Unknown output structure: {0}".format(struct))
return
评论列表
文章目录