Coder Social home page Coder Social logo

nuke-components's Introduction

nuke-components | continuous release

Shared components for the NUKE build system.

For more information about these components, see the docs.

To read more about shared components in general, see the official NUKE docs.

Usage

To use the shared components in your build, install the NuGet package:

dotnet add package .\build\MyNukeBuild.csproj Xerris.Nuke.Components

ℹ In your build project, you'll want to keep or add an explicit package reference to Nuke.Common. This will ensure you keep the project organization provided by the NUKE MSBuild targets:

dotnet add package .\build\MyNukeBuild.csproj Nuke.Common

See the samples for examples of how to use these components in your build projects.

Build

This project uses the NUKE build tool (naturally). NUKE builds can be invoked in the following ways:

NUKE global tool

The preferred way to invoke NUKE builds is with the global tool. To install it, run the following command:

dotnet tool install nuke.globaltool -g

Verify your installation by listing the available targets with this command:

nuke --help

Build targets can now be run like so:

nuke compile
nuke test
nuke verify-format
# etc.

ℹ For added flavour, enable tab-completion for the global tool in your shell. See the official docs for instructions here.

Scripts

NUKE generates PowerShell, cmd, and bash scripts that invoke builds and build targets. To select a build target, specify it either as an argument or with the --target switch. For example:

./build.ps1 # Run the default build
./build.ps1 test # Run the 'test' target
./build.ps1 --target test # Run the 'test' target

Console app

NUKE builds are pure C# console apps. So, to run a build you can run the _build project from your IDE, just as you would any other executable.

IDE plugins

NUKE also provides plugins to invoke builds from your preferred IDE:

nuke-components's People

Contributors

esond avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nuke-components's Issues

Add sample for linter

Add sample that demonstrates the use of the ILint component.

Also update the ILint component to check that the dotnet format command is available.

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.