Giter Club home page Giter Club logo

cake's Introduction

#Cake NuGet MyGet Chocolatey

Cake (C# Make) is a build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages.

Build server Platform Status
AppVeyor Windows AppVeyor branch
Travis Linux / OS X Travis build status
TeamCity Windows TeamCity Build Status
Bitrise OS X Bitrise Build Status
Bitrise Linux Bitrise Build Status
Jenkins Windows Jenkins
Bamboo Windows Bamboo Build Status
Visual Studio Team Services Windows VSTS Build Status
MyGet Build Services Windows cake-myget-build-service MyGet Build Status

Table of contents

  1. Documentation
  2. Example
  3. Contributing
  4. Get in touch
  5. License

Documentation

You can read the latest documentation at http://cakebuild.net/.

Example

This example dowloads the Cake bootstrapper and executes a simple build script. The bootstrapper is used to bootstrap Cake in a simple way and is not in required in any way to execute build scripts. If you prefer to invoke the Cake executable yourself, take a look at the command line usage.

This example is also available on our homepage: http://cakebuild.net/docs/tutorials/setting-up-a-new-project

1. Install the Cake bootstrapper

The bootstrapper is used to download Cake and the tools required by the build script.

Windows
Invoke-WebRequest http://cakebuild.net/bootstrapper/windows -OutFile build.ps1
Linux
curl -Lsfo build.sh http://cakebuild.net/bootstrapper/linux
OS X
curl -Lsfo build.sh http://cakebuild.net/bootstrapper/osx

2. Create a Cake script

Add a cake script called build.cake to the same location as the bootstrapper script that you downloaded.

var target = Argument("target", "Default");

Task("Default")
  .Does(() =>
{
  Information("Hello World!");
});

RunTarget(target);

3. Run it!

Windows
# Execute the bootstrapper script.
./build.ps1
Linux / OS X
# Adjust the permissions for the bootstrapper script.
chmod +x build.sh

# Execute the bootstrapper script.
./build.sh

Contributing

So you’re thinking about contributing to Cake? Great! It’s really appreciated.

Make sure you've read the contribution guidelines before sending that epic pull request.

  • Fork the repository.
  • Make your feature addition or bug fix.
  • Don't forget the unit tests.
  • Send a pull request.

Get in touch

Follow @cakebuildnet

Join the chat at https://gitter.im/cake-build/cake

License

Copyright © Patrik Svensson, Mattias Karlsson, Gary Ewan Park and contributors. Cake is provided as-is under the MIT license. For more information see LICENSE.

Thanks

A big thank you has to go to JetBrains who provide each of the Cake Developers with an Open Source License for ReSharper that helps with the development of Cake.

cake's People

Contributors

bjorkstromm avatar chrismissal avatar colin-gourlay avatar daveaglick avatar dbent avatar devlead avatar dsparkplug avatar erikschierboom avatar gep13 avatar gitter-badger avatar jenshorn avatar jorisdebock avatar jrnail23 avatar khellang avatar m-ritchie avatar marcosnz avatar matdube avatar nathansoz avatar olivier-spinelli avatar patriksvensson avatar redth avatar richicoder1 avatar rlittlesii avatar rosshammer avatar rprouse avatar sharperad avatar tonyedgecombe avatar vktr avatar wolfsoul13 avatar yvschmid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.