Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dotnetzero/script
- Owner: dotnetzero
- License: mit
- Created: 2016-11-03T02:33:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-11T18:46:53.000Z (about 7 years ago)
- Last Synced: 2024-08-13T07:05:33.417Z (5 months ago)
- Topics: build-automation, cake-build, nuget, powershell, psake
- Language: PowerShell
- Homepage: https://dotnetzero.com
- Size: 67.4 KB
- Stars: 13
- Watchers: 6
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - dotnetzero/script - (PowerShell)
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
```