예제 #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
파일: Howl.cs 프로젝트: active-logic/uta
        // --------------------------------------------------------------

        // 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;
 }