Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dotnetzero/script


https://github.com/dotnetzero/script

build-automation cake-build nuget powershell psake

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# dotnetzero

[![Build status](https://ci.appveyor.com/api/projects/status/tafyfqtcuqvw4ft8/branch/master?svg=true)](https://ci.appveyor.com/project/motowilliams/script/branch/master)

## Why

There was a project 42 years ago, called Tree Surgeon, that would setup a directory structure for your next project. This was early, early .NET days, but it was a handy little utility.

init.ps1 takes some CLI observations from NPM and attempts to setup an initialized empty shell of a repo to help projects get setup quickly.

## The Defaults

- [x] source code into a root level src directory
- [x] components to deploy into an artifacts directory
- [x] permanent tools going into a tools directory
- [x] using a file named default.ps1 as your primary build script
- [x] asks if you want to use Psake or Cake Build
- [x] using a bootstrapper to help with setting up and calling the task runner
- [x] adds a .gitattributes file
- [x] adds a .gitignore file (https://github.com/github/gitignore/blob/master/VisualStudio.gitignore)
- [x] defaults to using Nuget Package Restore
- [x] gets the latest version of Nuget and will update itself occasionally
- [x] updates nuget occasionally
- [x] creates a readme.md file

## Installing

``` powershell
Invoke-WebRequest dotnetzero.com | Invoke-Expression
```

``` powershell
Invoke-RestMethod dotnetzero.com | Invoke-Expression
```

``` powershell
iwr dotnetzero.com | iex
```

``` powershell
irm dotnetzero.com | iex
```