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(() => {
Cake.Npm
.WithLogLevel(NpmLogLevel.Silent)
.FromPath(".")
.Install()
.RunScript("build");
NpmInstall(new NpmInstallSettings {
LogLevel = NpmLogLevel.Silent,
WorkingDirectory = "./",
Production = true
});
NpmRunScript("build");
});
Task("PackageMono").Does(() => {
@ -308,4 +310,4 @@ Task("Artifacts")
// Run
RunTarget("Build");
RunTarget("Artifacts");
RunTarget("Artifacts");