Beispiel #1
0
        public SingleFileArtifacts(string outputDir, string outputFile)
        {
            _destPath = Path.Combine(outputDir, outputFile);

            _output = new ArtifactOutput();
            _output.UseJavaScriptOutput(new JavaScriptFileOutput(_destPath));
            _output.UseSourceMapOutput(new SourceMapFileOutput(_destPath + ArtifactsFactory.SourceMapFileExtension, outputFile));
        }
Beispiel #2
0
        public SingleFileArtifacts(string outputDir, string outputFile)
        {
            _destPath = Path.Combine(outputDir, outputFile);

            _output = new ArtifactOutput();
            _output.UseJavaScriptOutput(new JavaScriptFileOutput(_destPath));
            _output.UseSourceMapOutput(new SourceMapFileOutput(_destPath + ArtifactsFactory.SourceMapFileExtension, outputFile));
        }
Beispiel #3
0
        public Rewriter(SemanticModel semanticModel, CodeTemplate template, ArtifactOutput output, ErrorAggregator aggregator)
        {
            this._semanticModel = semanticModel;
            this._output = output;
            this._template = template;
            this._aggregator = aggregator;

            this._indentType = _template.TypeIndent;
            this._indentMember = _template.MemberIndent;
        }
Beispiel #4
0
        public MultipleFileArtifacts(string outputDir)
        {
            _outputDir = outputDir;

            _output = new ArtifactOutput();
        }
Beispiel #5
0
        public MultipleFileArtifacts(string outputDir)
        {
            _outputDir = outputDir;

            _output = new ArtifactOutput();
        }
Beispiel #6
0
 public ConsoleArtifacts()
 {
     _output = new ArtifactOutput();
     _output.UseJavaScriptOutput(new JavaScriptConsoleOutput());
     _output.UseSourceMapOutput(new SourceMapConsoleOutput(ArtifactsFactory.ConsoleJs));
 }
Beispiel #7
0
 public ConsoleArtifacts()
 {
     _output = new ArtifactOutput();
     _output.UseJavaScriptOutput(new JavaScriptConsoleOutput());
     _output.UseSourceMapOutput(new SourceMapConsoleOutput(ArtifactsFactory.ConsoleJs));
 }