Exemplo n.º 1
0
        protected override void RunTool()
        {
            var tool = new NpmRunner(FileSystem, Environment, ProcessRunner, Tools, _level);

            if (_npmLogLevel.HasValue)
            {
                tool.WithLogLevel(_npmLogLevel.Value);
            }
            tool.Install(InstallSettings);
        }
Exemplo n.º 2
0
        protected override void RunTool()
        {
            var tool = new NpmRunner(FileSystem, Environment, ProcessRunner, Tools);

            tool.Pack(Target);
        }
Exemplo n.º 3
0
        protected override void RunTool()
        {
            var tool = new NpmRunner(FileSystem, Environment, ProcessRunner, Tools);

            tool.RunScript(ScriptName, RunScriptSettings);
        }
Exemplo n.º 4
0
 internal ApplicationSetUpBuilder(Uri productionUri, ApplicationMode @default, NpmRunner npmRunner)
 {
     Uri        = productionUri;
     _Default   = @default;
     _NpmRunner = npmRunner;
 }