pvcbuild / pvc

PVC -- Scaffold, Build, Publish -- Composable, extensible builds in .NET created by @stirno
http://pvcbuild.com
MIT License
117 stars 11 forks source link

PVC Assumes that the ChocolateyInstall environment variable exists #86

Open johnduhart opened 10 years ago

johnduhart commented 10 years ago
[pvc] Preparing to execute task 'pack' and dependencies from pvcfile.csx
[pvc] Loading pvc plugins and runtimes ... [done]
[pvc] Starting 'pack' ...
[pvc] [pack]
[pvc] [pack] System.ArgumentNullException thrown:
[pvc] [pack] --------------------------
[pvc] [pack] Value cannot be null.
Parameter name: path1
[pvc] [pack] --------------------------
[pvc] [pack] Value cannot be null.
Parameter name: path1
[pvc] [pack] at System.IO.Path.Combine(String path1, String path2)
[pvc] [pack] at PvcCore.PvcUtil.FindBinaryInPath(String[] binaries)
[pvc] [pack] at PvcPlugins.PvcNuGet.get_NuGetExePath()
[pvc] [pack] at PvcPlugins.PvcNuGetPack.Execute(IEnumerable`1 inputStreams)
[pvc] [pack] at PvcCore.PvcPipe.<>c__DisplayClass2.<Pipe>b__1(IEnumerable`1 streams)
[pvc] [pack] at PvcCore.PvcPipe.Pipe(String[] tags, Func`2 plugin)
[pvc] [pack] at PvcCore.PvcPipe.Pipe(PvcPlugin plugin)
[pvc] [pack] at Submission#0.<.ctor>b__0() in :line 2
[pvc] [pack] at PvcCore.PvcTask.Execute()
[pvc] [pack] at PvcCore.Pvc.RunTasks(PvcTask[] tasks)
[pvc] Task 'pack' failed with an exception

https://github.com/pvcbuild/pvc/blob/master/Pvc.Core/PvcUtil.cs#L93

stirno commented 10 years ago

Sorry was out of town this week. I'll get this taken care of this weekend I hope. Changing up the packaging a bit to be less Chocolatey specific to allow for easy OSX installs.