protected override void CompileLess(string lessFile, string outputCssFile) { var compiler = new Tasks.dotlessCompiler(); compiler.BuildEngine = this.Task.BuildEngine; compiler.Arguments = string.Format(@"""{0}"" ""{1}""", lessFile, outputCssFile); compiler.Execute(); }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="compiler">The <see cref="dotlessCompiler"/> to use when registering services.</param> public dotlessCompilerContainerFactory(dotlessCompiler compiler) : base() { if (compiler == null) { throw new System.ArgumentNullException("compiler"); } this.Compiler = compiler; }