We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following cake file:
#addin Cake.Squirrel Task("Package") .Does(() => { var targetDirectory = Directory("Releases"); var targetNuGetPackageFile = targetDirectory + File(@"Test.1.0.0.nupkg"); var settings = new SquirrelSettings { SetupIcon = File("Icon.ico"), NoMsi = true, ReleaseDirectory = targetDirectory, LoadingGif = File("installing.gif") }; Squirrel(targetNuGetPackageFile, settings); }); RunTarget("Package");
But when I run it with .\build.ps1 "Test.cake" I get the following output:
.\build.ps1 "Test.cake"
Preparing to run build script... Running build script... Analyzing build script... Processing build script... Installing addins... Compiling build script... ======================================== Package ======================================== Executing task: Package An error occured when executing task 'Package'. Error: Squirrel: Could not locate executable.
i have the following files:
| build.ps1 | Test.cake | \---tools | nuget.exe | packages.config | +---Addins | +---Cake.Core | | | Cake.Core.nupkg | | | | | \---lib | | \---net45 | | Cake.Core.dll | | Cake.Core.pdb | | Cake.Core.xml | | | \---Cake.Squirrel | | Cake.Squirrel.nupkg | | | \---lib | \---net45 | Cake.Squirrel.dll | \---Cake Autofac.dll Cake.Common.dll Cake.Common.xml Cake.Core.dll Cake.Core.xml Cake.exe Cake.NuGet.dll Cake.NuGet.xml Cake.nupkg Mono.CSharp.dll NuGet.Core.dll Roslyn.Compilers.CSharp.dll Roslyn.Compilers.dll
The text was updated successfully, but these errors were encountered:
Identified on Gitter as missing the #tool declaration to bring Squirrel.exe itself in.
#tool
Adding #tool "Squirrel.Windows" is confirmed to have fixed the issues.
#tool "Squirrel.Windows"
@phillipsj Should the README or examples perhaps be updated to mention the need to reference Squirrel.Windows?
Sorry, something went wrong.
I will get this all updated this weekend. Thanks for the feedback.
6efd571
No branches or pull requests
I have the following cake file:
But when I run it with
.\build.ps1 "Test.cake"
I get the following output:i have the following files:
The text was updated successfully, but these errors were encountered: