def mint(): # list = FileList(Yak.build_root, filter = "*bootstrap*.js", exclude = "*-min.js") # for burne in list.get(): # minify(burne, re.sub(r"(.*).js$", r"\1-min.js", burne), strict = False, ecma3 = True) # raise "toto" # These dont survive strict PH.minter(Yak.build_root, filter = "*raphael*.js,*ember*.js,*yahoo*.js,*yepnope*.js,*modernizr*.js,*jasmine*.js", excluding=",*/jax*,*mathjax/fonts*", strict = False) PH.minter(Yak.build_root, excluding = "*raphael*.js,*ember*.js,*yahoo*.js,*yepnope*.js,*modernizr*.js,*jasmine*.js,*/jax*,*mathjax/fonts*", strict = True)
def mint(): PH.minter(Yak.build_root)
def mint(): # Yahoo and yep don't support strict PH.minter(Yak.build_root, filter = "*yahoo.js,*yepnope.js", strict = False) PH.minter(Yak.build_root, excluding = "*yahoo*,*yepnope*")
def mint(): # Yahoo and yep don't support strict # Minting specs is a bad idea, as some code simpifications defeat some of them PH.minter(Yak.build_root, filter = "*yahoo.js,*yepnope.js", excluding="*/specs/*,*/es5/*", strict = False) PH.minter(Yak.build_root, excluding = "*yahoo*,*yepnope*,*/specs/*,*/es5/*")