Fix gulp task.

pull/6/head
Mike 7 years ago committed by GitHub
parent 5b9c669af4
commit d8472a2a81

@ -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");

Loading…
Cancel
Save