Merge pull request #7 from AeonLucid/develop

Fix gulp task.
This commit is contained in:
mattman86 2017-05-07 16:04:38 -06:00 committed by GitHub
commit 38ae5d3962
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");