Пример #1
0
 void ProcessHowlSource(string π)
 {
     log.message = $"Build {π.FileName()}";
     Active.Howl.Util.GiveBack.ι.IncrementUseCount();
     // TODO [build = nitpick and build] should be enforced
     // by Howl, not Unity integration.
     Howl.NitPick(π);
     Howl.BuildFile(π);
     needsRefresh = true;
 }
Пример #2
0
        // --------------------------------------------------------------

        // TODO - from Builder.howl, compared to other methods, somewhat
        // different contract
        public static bool Export(string src, string dst)
        {
            src = src.WithFinalSep();
            dst = dst.WithFinalSep();
            if (!src.IsDir())
            {
                log.message = $"Source dir not found: {src}\n"; return(false);
            }
            var paths = FileSystem.Paths(src, "*.howl");

            foreach (var x in paths)
            {
                var y = dst + x.RelativeTo(src).SetExtension(".cs");
                Howl.BuildFile(x, y);
            }
            return(true);
        }
Пример #3
0
 public void DoImport()
 {
     Howl.ImportDir("Assets/", verbose: true);
     Config.ι.sel_importFiles = UserChoice.Yes;
 }