public static void CookMainBundleAction() { AssetCooker.Cook( The.Workspace.ActivePlatform, new System.Collections.Generic.List <string>() { CookingRulesBuilder.MainBundleName } ); }
public static void CookForTarget(Target target, IEnumerable <string> bundles = null) { var assetCooker = new AssetCooker(target); var skipCooking = The.Workspace.ProjectJson.GetValue <bool>("SkipAssetsCooking"); if (!skipCooking) { assetCooker.Cook(bundles ?? assetCooker.GetListOfAllBundles()); } else { Console.WriteLine("------------- Skip Assets Cooking -------------"); } }