Fix gulp task.

This commit is contained in:
Mike 2017-05-08 00:02:46 +02:00 committed by GitHub
parent 5b9c669af4
commit d8472a2a81
1 changed files with 8 additions and 6 deletions

View File

@ -104,11 +104,13 @@ Task("Compile").Does(() => {
}); });
Task("Gulp").Does(() => { Task("Gulp").Does(() => {
Cake.Npm NpmInstall(new NpmInstallSettings {
.WithLogLevel(NpmLogLevel.Silent) LogLevel = NpmLogLevel.Silent,
.FromPath(".") WorkingDirectory = "./",
.Install() Production = true
.RunScript("build"); });
NpmRunScript("build");
}); });
Task("PackageMono").Does(() => { Task("PackageMono").Does(() => {
@ -308,4 +310,4 @@ Task("Artifacts")
// Run // Run
RunTarget("Build"); RunTarget("Build");
RunTarget("Artifacts"); RunTarget("Artifacts");