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

Enable cake scripts that are not part of the solution #31

Closed
nils-a opened this issue Jan 4, 2021 · 0 comments · Fixed by #58
Closed

Enable cake scripts that are not part of the solution #31

nils-a opened this issue Jan 4, 2021 · 0 comments · Fixed by #58
Assignees
Labels
Milestone

Comments

@nils-a
Copy link
Member

nils-a commented Jan 4, 2021

some setups look like this:

  • build.ps1
  • build.cake
    • src
      • my-project.sln
      • ...

In that case, when the sln is opened in Rider, the build.cake is not known to Cake-Rider.

One possible solution would be to add a reference to the build.cake to the csproj (Something like <None Include="$(SolutionDir)/../build.cake" Link="build.cake" />) and have Cake-Rider pick that up automatically.

Another solution could be to add "additional search-paths" to the Cake-Rider configuration. (So the search for Cake scripts would start in the root folder, not in the src folder.)

@nils-a nils-a changed the title Enable cake scripts that not part of the solution Enable cake scripts that are not part of the solution Jan 4, 2021
@nils-a nils-a added this to the 0.2.0 milestone Jan 4, 2021
@nils-a nils-a self-assigned this Jan 4, 2021
@nils-a nils-a removed their assignment Jan 9, 2021
@nils-a nils-a removed this from the 0.2.0 milestone Jan 9, 2021
nils-a referenced this issue in nils-a/cake-rider Jan 13, 2021
a new settings page was introduced: "Search paths".
This page contains two settings: The search paths to start
the search for Cake files and excludes for paths that
should not be searched.
Default search paths is ["."], which correlates to the "old"
functionality.
Default exclude is [".*/tools/.*"] to exclude the tools
folder and thereby excluding Cake files that were
added from NuGet packages.
@nils-a nils-a added this to the 0.2.0 milestone Jan 13, 2021
@nils-a nils-a self-assigned this Jan 13, 2021
nils-a referenced this issue in nils-a/cake-rider Jan 14, 2021
a new settings page was introduced: "Search paths".
This page contains two settings: The search paths to start
the search for Cake files and excludes for paths that
should not be searched.
Default search paths is ["."], which correlates to the "old"
functionality.
Default exclude is [".*/tools/.*"] to exclude the tools
folder and thereby excluding Cake files that were
added from NuGet packages.
nils-a referenced this issue in nils-a/cake-rider Jan 14, 2021
a new settings page was introduced: "Search paths".
This page contains two settings: The search paths to start
the search for Cake files and excludes for paths that
should not be searched.
Default search paths is ["."], which correlates to the "old"
functionality.
Default exclude is [".*/tools/.*"] to exclude the tools
folder and thereby excluding Cake files that were
added from NuGet packages.
nils-a referenced this issue in nils-a/cake-rider Jan 16, 2021
a new settings page was introduced: "Search paths".
This page contains two settings: The search paths to start
the search for Cake files and excludes for paths that
should not be searched.
Default search paths is ["."], which correlates to the "old"
functionality.
Default exclude is [".*/tools/.*"] to exclude the tools
folder and thereby excluding Cake files that were
added from NuGet packages.
@gep13 gep13 closed this as completed in #58 Jan 17, 2021
gep13 added a commit that referenced this issue Jan 17, 2021
(GH-31) (GH-42) added searchPaths and excludes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant