Пример #1
0
        public ProjectBazelConfig(BaseVerb verb)
        {
            RootPath = verb.RootPath;
            if (RootPath == null)
            {
                RootPath = Directory.GetCurrentDirectory();
            }

            Nuget2BazelConfigName = verb.Nuget2BazelConfigName;
            BazelFileName         = verb.BazelFileName;
            Indent = verb.Indent;
        }
Пример #2
0
        public ProjectBazelConfig(BaseVerb verb)
        {
            ProjectFiles = verb.ProjectFiles;

            RootPath = verb.RootPath;
            if (RootPath == null)
            {
                RootPath = Directory.GetCurrentDirectory();
            }

            Nuget2BazelConfigName = verb.Nuget2BazelConfigName;
            BazelFileName         = verb.BazelFileName;
            Indent            = verb.Indent;
            NugetSource       = verb.Source;
            NugetSourceCustom = verb.NugetSourceCustom;
        }