Пример #1
0
		public ClosureCompilerRunner(IPlovrSettings settings, IPlovrProject project) : base(settings, project) { }
Пример #2
0
		/// <summary>
		/// Our constructor, allows you to pass in a single base path that is comma delimited.
		/// </summary>
		/// <param name="projectElement">the project we want to compile</param>
		/// <param name="settings">the settings we use to compile</param>
		public DependencyBuilder(IPlovrProject projectElement, IPlovrSettings settings)
		{
			this.Project = projectElement;
			this.Settings = settings;
	
			// this.BasePaths = basePath.IndexOf(',') > 0 ? basePath.Split(',').ToList() : new List<string> { basePath };

			this.Provide = new Dictionary<string, string>();
			this.Require = new Dictionary<string, List<string>>();

			// we need to read output asynchronously. so we use a helper class
			ProcessHelper = new AsyncProcessHelper();

			// build out the dependency tree.
			this.BuildDepedencyTree();
		}
Пример #3
0
		public ClosureTemplateRunner(IPlovrSettings settings, IPlovrProject project) : base(settings, project) { }