Skip to content
New issue

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

tool path setting in cake.config is ignored. #74

Open
nils-a opened this issue Dec 29, 2021 · 0 comments
Open

tool path setting in cake.config is ignored. #74

nils-a opened this issue Dec 29, 2021 · 0 comments

Comments

@nils-a
Copy link
Member

nils-a commented Dec 29, 2021

What You Are Seeing?

I have a repository, containing a cake.config file with the content:

[Paths]
Tools=./.cake

What is Expected?

I would expect the cake.config to be honored and .cake as the folder for tools to be used.

What version of Cake are you using?

2.1.0

Are you running on a 32 or 64 bit system?

64 bit.

What environment are you running on? Hosted? Custom?

Hosted.

How Did You Get This To Happen? (Steps to Reproduce)

  • create a new cake build, containing a cake.config which points the tool location to anything other than tools.
  • add content to the tools folder
  • run the pipeline using this task - the tools folder will be set to tools and not the configured value from cake.config and the manually added content will not be used.

Output Log

Starting: Cake
==============================================================================
Task         : Cake
Description  : Build with Cake
Version      : 2.1.0
Author       : Patrik Svensson
Help         : [More Information about Cake](https://cakebuild.net)
==============================================================================
=====================================================
Root = /home/vsts/work/1/s
Tools = /home/vsts/work/1/s/tools
Cake Tool Path = /home/vsts/work/1/s/tools/dotnet-cake
Package Feed = 
=====================================================
Creating tools directory...
Installing Cake Tool (Latest)...
/usr/bin/dotnet tool install --tool-path /home/vsts/work/1/s/tools/ Cake.Tool
You can invoke the tool using the following command: dotnet-cake
Tool 'cake.tool' (version '2.0.0') was successfully installed.

Executing build script...
/home/vsts/work/1/s/tools/dotnet-cake /home/vsts/work/1/s/build.cake --target=Default --verbosity=Diagnostic --paths_tools=/home/vsts/work/1/s/tools
Looking for modules...
No modules found to install.
Module directory does not exist.

...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant