cake-build / website Goto Github PK
View Code? Open in Web Editor NEW:earth_americas: The Cake website: https://cakebuild.net
Home Page: https://cakebuild.net
License: MIT License
:earth_americas: The Cake website: https://cakebuild.net
Home Page: https://cakebuild.net
License: MIT License
With places for blog posts, videos, presentations, etc.
We have a page called extending-the-bootstrapper, but it isn't showing on the site, as it is missing in the docs.xml file.
@bibodha commented on Fri Sep 09 2016
I would love to be able to search the documentation from the cakebuild.net website. Currently, to search, I have to go to google, type site:cakebuild.net <search term>
. It would be awesome if we can just have a simple google search input field added to the website as a first iteration and see if it needs to be made better.
Hi,
Is it possible to build specific project files under .sln project and also can exclude one single project ?
The example documentation has 'Run-Unit-tests' task using Nunit3 with wildcard characters and If I use the same thing for the MSBuild settings the build gives an error.
The below one works fine
Task("Run-Unit-Tests")
.IsDependentOn("Build")
.Does(() =>
{
NUnit3("./**/bin/" + configuration + "/*.Tests.dll", new NUnit3Settings {
NoResults = true
});
});
Issue , it fails here
Task("Build")
.IsDependentOn("Restore-NuGet-Packages")
.Does(() =>
{
if(IsRunningOnWindows())
{
// Use MSBuild
MSBuild("./CakeApp/**/*.csproj", settings =>
settings.SetConfiguration(configuration));
}
else
{
// Use XBuild
XBuild(solutionDirPath, settings =>
settings.SetConfiguration(configuration));
}
});
Time Elapsed 00:00:00.38
An error occured when executing task 'Build'.
Error: Illegal characters in directory path (*).
Parameter name: path
PS C:\dev\CakeApp>
Bascially I'm looking to build few projects only in the solution. is it possible?
Many thanks.
Irfan
As discussed here:
I think a great addition to the site would be a write up on how to break a build script into different constituent parts, and then construct the lego pieces required for a particular build.
We currently have information about VSO that is hidden. Add a new section (Build Systems) and add this page here.
Anyone coming here looking for a list of addins and modules that currently exist for Cake, it has been moved to here:
Including collaborators and contributors
It says that you should set the following value in the configuration file to override the default addin path.
[Paths]
Tools=./tools/Addins
The correct example should be:
[Paths]
Addins=./tools/Addins
http://cakebuild.net/docs/fundamentals/default-configuration-values
Which was added as a result of this issue, and needs to be included when 0.15.0 ships.
It would be awesome if the website would contain some complete and compelling examples for users who are new to Cake.
I have something in my mind like:
The samples could may be loaded from a community maintained repo in the cake-contrib organization. This increase the chance that the examples are always up to date.
Documentation is present for StartProcess(FilePath, ProcessSettings, out IEnumerable)
But it's not rendered on the website
Relates to this:
See this page http://cakebuild.net/docs/fundamentals/aliases
when you add your dll to /tools folder - it will get nuked on rebiuld.
Here is description from @gep13 what should be happening there:
within the bootstrapper, we have the concept of doing an MD5 Checksum on the contents of the packages.config file, in order to see if any depenedencies have changed.
if a difference in checksum is detected, or if the checksum file doesn't currently exist, the tools folder gets nuked, and put back together based on the contents of the packages.config file, and any tools/addin pre-processor directives that are contained within the .cake file
since the dll is just "loose" in the tools folder, it doesn't get restored
to work around this, change line 164 of your build.ps1 file to the following Remove-Item * -Recurse -Exclude packages.config,nuget.exe,Cake.SqlServer.dll
and that should get you up and running again
Currently XML isnt't displayed correctly, see contributing/documentation as an example.
Suggest trying highlight.js
Hate to be the guy to report all these small things, but http://cakebuild.net/bootstrapper/packages generates the following packages.config file:
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake" version="0.9.0" />
</packages>
As per this issue:
Add supported help comment XML tags to contributing/documentation
See cake-build/cake#491 for supported tags info.
I think we have a problem here:
We have two built in Aliases for ReSharper:
and one external Alias from the Cake.ReSharperReports Addin.
The text which is being displayed in the screenshot above, i.e. "Contains aliases related to ReSharperReports API" is coming from the external Addin, same on this page:
Not sure how best to handle this, but I thought I would raise it so that we can start a discussion.
Thoughts? @patriksvensson @devlead
Relates to cake-build/cake#1023
Here:
http://cakebuild.net/docs/tutorials/setting-up-a-new-project
There seems to be an extra </string>
at the end of the code sample:
Which I think is caused by the <string>
being passed as an argument on the first line.
Is this due to the syntax highlighting tool that we are using?
See the AppVeyor
property here: http://cakebuild.net/dsl/build-system
Method and property aliases should display as aliases (and not as extension methods) when clicking on them from the DSL category-view.
As discussed on Gitter a few days ago the documentation for NuGet appears to be incorrect.
All of the NuGet documentation is currently grouped under the Cake.ExtendedNuGet 3rd Party documentation, including the aliases that are included as a core part of Cake.
The guide is then slightly misleading since it states that you need to use #addin "Cake.ExtendedNuGet"
to bring in the NuGet functionality.
The properties table in the api pages would be more readable/informative if it also had a column with the property type in it.
Take this page as an example:
http://cakebuild.net/api/cake.common.tools.gitversion/cc080ec6
The link to the Cake.HipChat addin on the reference-page is broken.
Current link target: https://github.com/cake-contrib/HipChat
Correct link target: https://github.com/cake-contrib/Cake.HipChat
http://cakebuild.net/docs/tools/tool-resolution should be updated to
Cake.Core.Tooling.Tool<TSettings>
As discussed here:
We should provide a write up, perhaps in the form of a how-to
article, on a suggested best practice for having a central build.cake file that you can consume from multiple projects.
This will be related to this article #25, but tackle a slightly different problem.
I had the following troubles when trying to get through the "getting started" guide:
Join-Path
(Powershell 4 helped)Last night, we needed to make a force push onto the develop branch of this repository.
As a result, anyone with an existing fork of this repository will need to update their fork. The following steps can be used to achieve this:
If you haven't already done so, create a remote pointing at this repository:
git remote add upstream https://github.com/cake-build/website.git
git checkout develop
git pull
git fetch upstream -v
git reset --hard upstream/develop
git push -f origin develop
And that should bring your fork up to date with the changes in the develop branch.
People that we know who might be affected by this are:
@ErikSchierboom
@Redth
@marcosnz
@SharpeRAD
@naasking
@jtreuting
@pheiberg
If you have any questions about the above, please reach out to either @patriksvensson, @devlead or myself (@gep13)
As discussed with @gep13 in this issue in one of my repositories, it would be nice if add-ins could be listed but marked as pre-release on the site. My use case is that I have an add-in that definitely falls in the "works on my machine" status. It invokes MAGE.exe for building click-once apps and frankly I'm kind of annoyed we still use click-once so I'm not really going to be spending a ton of time testing every scenario out on it on the weekends.
But it should work. I think others would find value in it, and maybe someone that really loves click-once could test contribute to get it to a 1.0 stage. And the best place for me to get the word out would be the add-in list, but I'd like to set expectations on its current state.
The contributing page shall be synced with the info on the github contributing page
With the ability to support additional Cake Modules, I think we need an additional section on the site, which allows people to submit information about custom Cake modules, similar to what they can do for Addins.
With Cake PR cake-build/cake#858 merged debugging support was added to Cake. When released we should update docs with a new Troubleshooting section with atleast 2 pages
The current getting started guide is good and all, but I think the guide "Setting up a new project" is much simpler to really get started.
I think the "Setting up a new project" should be the "Getting started" guide, and instead add some documentation how to write a cake script that can be a nice follow up to the "Getting started" guide.
My build.cake file has this:
var version = Argument("build_version", "0.9.0-beta");
I'm trying to pass the information to build.ps1:
powershell .\build.ps1 -build_version=%VERSION%
This doesn't seem to work. The documentation talks about cake.exe, but that's some internal exe that I don't use directly, right?
Can you replace the documentation for cake.exe parameters with examples for build.ps1?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.