Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Integrate setup into global tool
  • Loading branch information
matkoch committed Aug 1, 2018
1 parent 1b5070b commit 2481d25
Show file tree
Hide file tree
Showing 29 changed files with 813 additions and 626 deletions.
29 changes: 6 additions & 23 deletions README.md
Expand Up @@ -5,9 +5,9 @@
[![Downloads](https://img.shields.io/nuget/dt/Nuke.Common.svg?label=downloads&style=flat-square&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAHYcAAB2HAY%2Fl8WUAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTnU1rJkAAABrUlEQVR4XuXQQW7DMAxE0Rw1R%2BtN3XAjBOpPaptfsgkN8DazIDB8bNu2NCxXguVKsFwJlrJs6KYGS1k2dFODpSwbuqnBUpYN3dRgKcuGbmqwlGVDNzVYyrKhmxosZdnQTQ2WsmzopgZLWTZ0U4OlLBu6qcFSlg3d1GApy4ZuarCUZUM3NVjKsqGbGixl2dBNDZaybOimBktZNnRTg6UsG7qpwVKWDd3UYPnB86VKfl5owx9YflHhCbvHByz%2FcecnHBofsNzhjk84PD5gudOdnnBqfMDygDs84fT4gOVBVz4hNT5gecIVT0iPD1ieNPMJyviAZcKMJ2jjA5ZJI5%2Bgjg9YCkY8QR8fsJSYTxgyPmApMp4wbHzAUpZ5wtDxAcsBzjxh%2BPiA5SBHnjBlfMByoD1PmDY%2BYDnYtydMHR%2BwnICeMH18wHKS9ydcMj5gOVE84bLxAcuVYLkSLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLDvVQ5saLFeC5UqwXAmW69gev7WIMc4gs9idAAAAAElFTkSuQmCC)](https://www.nuget.org/packages/Nuke.Common/)
<!--[![Commits](https://img.shields.io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pvRhc24uvqXkjLdR0fv8M7hhXv63pibTA0SuR28mslrQw1%2FmFmMxq4WOq8ws1mdXCx7DzCzuZ1cIHp3f4yayO080HB9x8qBBTYIgAAAAASUVORK5CYII%3D)](https://www.nuget.org/packages/Nuke.Common/)-->

- Cross-platform build automation with 100% pure C#
- Cross-platform build automation in pure C#
- Extensive wizard for setup of initial build implementation
- Bootstrapping for .NET Core and .NET Framework/Mono
- Easy setup & invocation of builds using our [global tool](https://www.nuget.org/packages/Nuke.GlobalTool/)
- CLT wrappers for over 30+ of the most popular .NET tools
- Extensions for [ReSharper](https://resharper-plugins.jetbrains.com/packages/ReSharper.Nuke/) and [Rider](https://plugins.jetbrains.com/plugin/10803-nuke-support) for improved build experience

Expand All @@ -17,28 +17,11 @@
[![Slack](https://img.shields.io/badge/slack-nukebuildnet-red.svg?style=flat-square&colorB=F5015F&logo=%20data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM%2FrhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMjHxIGmVAAAD0ElEQVRYR8WYaYhNYRzGx5JlKKJM2eODZVJElqRRQrJElkyKxAeNMqQYW5IPZkpk%2FaBkLI1IkkiTQpTJiJQaEVlCJDGWJoMZv%2Fe8z1wd7zlzzrn36v7q6dzz%2Fz%2FP%2F32ne%2Bbcc29etmlubp6MbjQ1NX1At9FUtXIPmxmLGtlgCs5%2Fogmy5BY2UqV9%2BaB%2BTpbcwkZuak8%2BqH%2Fl0Em27MLwwWgpmh21CJ6D3o4CoDdTtuzB0C3ot9YwizxBA9R2oDdNVgd6R2TzoNQVLURlyrVRKx6ExhFyoH5JFgd6HVG9rD6ov%2BWQz3EeOoO%2B246F8%2BMaEw8C25X1Qb0R9ZDNgd5pWR3o%2BTb1L%2FSna0w0%2BMtszIVBy2Rzo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7F7h1g%2BR8k%2BbQnwXPQo8vpKQleIRWgNdjI%2Fc6LAkBZjatQ9pKCTAvHo1QS9o1L1d5t7hGA0I623mHSKrkWxfLegrxCXRtorLezqgMOrkV6GWWZ6FenVpnfRR0iz0ImeeSY%2BTYi%2BwGbV3mMuglNN2V%2BPtBI1VQ%2BKCFcj%2FVbKFkvHHwSiTyhNQ1%2BjRHek4gPdPt7Ez%2BpOR50JBURgU5C%2BnZKoWzLFg75Et%2FKzqt9uCA0B6tTWtNVryPf3Wv5CegmyFfmfRQkLwQ9GevVqFdqLYr3LwL7m635DukyahQZbKOmHZPQJEF3S6OJZlzS6z9SDmYr%2BbtLsOPoT%2FYD0DzQHjefQQHNZ25Covm6mty0vJHF9x%2B8BtJDfeteurDi%2BAN3LtiYcRiO90JO%2BUzMnJycnJycnJ63U1f0Pn1ZeoSwSgjAAAAAASUVORK5CYII%3D)](https://twitter.com/nukebuildnet)

Our global tool `Nuke.GlobalTool` is the most elegant way to use NUKE (requires [.NET Core 2.1.300 or higher](https://www.microsoft.com/net/download/all)). It provides a single command `nuke` for initial setup and regular building:
1. Install the global tool via `dotnet tool install -g Nuke.GlobalTool`
2. Invoke `nuke :setup` in a project of your choice
3. Follow the wizard to setup a build
4. Invoke `nuke` to execute the build (invokes build.sh or build.ps1)

```powershell
# One-time install
$ dotnet tool install -g Nuke.GlobalTool
# Regular usage
$ nuke !setup [-default] # setup a new build
$ nuke <arguments> # execute build
```

If you cannot install or use the global tool, you can also use PowerShell or Bash:

```powershell
# PowerShell
$ powershell -Command iwr https://nuke.build/powershell -OutFile setup.ps1
$ powershell -ExecutionPolicy ByPass -File ./setup.ps1
# Bash
$ curl -Lsfo setup.sh https://nuke.build/bash
$ chmod +x setup.sh; ./setup.sh
```

On our website there is a complete [getting started](https://www.nuke.build/getting-started.html) guide that explains all the basics of this project.

Expand Down
28 changes: 0 additions & 28 deletions bootstrapping/.build.sdk.csproj

This file was deleted.

51 changes: 0 additions & 51 deletions bootstrapping/Build.netcore.cs

This file was deleted.

52 changes: 0 additions & 52 deletions bootstrapping/Build.netfx.cs

This file was deleted.

0 comments on commit 2481d25

Please sign in to comment.