コード例 #1
0
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)
コード例 #2
0
ファイル: pukefile.py プロジェクト: webitup/gitbay
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*")
コード例 #3
0
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/*")
コード例 #4
0
ファイル: pukefile.py プロジェクト: MkeP/authoring.js
def mint():
  PH.minter(Yak.build_root)