Esempio n. 1
0
        private static void Npx(this ICakeContext context, NpxSettings npxSettings)
        {
            var npxTool = new NpxTool(
                context.FileSystem,
                context.Environment,
                context.ProcessRunner,
                context.Tools,
                context.Log);

            npxTool.Execute(npxSettings);
        }
Esempio n. 2
0
        private static void Npx(
            this ICakeContext context,
            NpxSettings npxSettings,
            out string[] redirectedStandardOutput)
        {
            var npxTool = new NpxTool(
                context.FileSystem,
                context.Environment,
                context.ProcessRunner,
                context.Tools,
                context.Log);

            npxTool.Execute(npxSettings, out redirectedStandardOutput);
        }