Skip to content
ewilde edited this page Nov 28, 2014 · 4 revisions

Creating a build from scratch

Crane init

From the command line or from PowerShell we can type

crane init Project

This produces the following structure on disk

- Project (new folder created)
  - build.cmd
  - build.ps1
  - build
    {psake build file}
  - src
    - Project
       Sample.cs
       Project.csproj
    - Project.Tests
       SampleTests.cs
       Project.Tests.csproj 
       packages.config {xunit, fluentassertions, xbehave}
    Project.sln

Installation

  • Create a crane chocolatey package
  • Update readme.md with installation instruction at top of page

Build

  • Create build for crane using crane init crane
  • Create azure vm with latest teamcity (ver 9 for git storage?)
  • build all branches & pull requests
  • version.txt (lets use semver)
  • master build should publish to chocolatey
  • store build config in git
  • Setup appveyor
  • Setup badges for chocolatey version / downloads (see: https://github.com/chocolatey/chocolatey/wiki)
  • Setup badges for teamcity
  • Setup badges for appveyor
Clone this wiki locally