compile.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:sublime_libsass 作者: blitzrk 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号