Coder Social home page Coder Social logo

nancy.build's Introduction

Description

Cross-platform build script, using CAKE, which is used to release a new Nancy version. The script will update the main Nancy repository and all of the sub-repositories to the designed version and build & publish the Nuget packages.

The build script can be invoked either with build.sh (macOS/Linux) or build.ps1 (Windows)

build.[ps1|sh] --target="name-of-task" [--additional-task-parameters]

Available tasks

Target Description
Prepare-Release Fetches all repositories, set the Nancy version and push back to Nancy repository, updates all sub-repositories to point to the tagged Nancy version. Requires --targetversion="x.y.z" to be passed in
Test-Projects This will compile all repositories and run tests
Push-SubProjects Pushes all the updated sub-repositories
Package-NuGet Creates the *.nupkgs. Requires -apikey="xxx" and --source="xxx" to be passed in
Publish-Nuget Pushes the *.nupkgs to a source eg. MyGet/NuGet
Clean Remove the contents of the working directory

Release procedure

Execute the tasks in the following order:

  • --target="Prepare-Release" --targetversion="X.X.X"

  • --target="Test-Projects"

  • --target="Push-SubProjects"

  • --target="Package-NuGet"

  • --target="Publish-Nuget" --apikey="XXX" --source="https://www.nuget.org/api/v2/package"

  • --target="Clean"

NOTE To prevent any Git commands running add the --nogit="true" flag when calling the build script.

nancy.build's People

Contributors

grumpydev avatar jchannon avatar thecodejunkie avatar devlead avatar cemremengu avatar

Watchers

James Cloos 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.