Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var model = new Model.Model(new Repository(GetGitRoot()));

            Directory.GetFiles(TEMPLATE_DIR, "*.stg")
                     .Select(Path.GetFullPath)
                     .ToList()
                     .ForEach(templateFile => ProcessTemplate(templateFile, model));
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            var model = new Model.Model(new Repository(GetGitRoot()));

            Directory.GetFiles(TEMPLATE_DIR, "*.stg")
                     .Select(Path.GetFullPath)
                     .ToList()
                // ReSharper disable once AssignNullToNotNullAttribute
                     .ForEach(templateFile => ProcessTemplate(templateFile, model));
        }