ewilde / crane

Crane creates builds scripts so you don't have to
http://blog.cranebuild.com
Apache License 2.0
6 stars 2 forks source link

crane can be built on mono #24

Closed ewilde closed 9 years ago

ewilde commented 9 years ago

Make sure that we can be built on mono, not sure if we need to change anything, but lets check

kevholditch commented 9 years ago
ewilde commented 9 years ago

I'm going to try this on my Mac, but seems like you can do mono on windows as well

http://www.mono-project.com/docs/getting-started/install/windows/

ewilde commented 9 years ago

Okay so I guess this is obvious! but we can't build crane using build.ps1 as mono doesn't have first class support for psake. I did find this project that offers a mono powershell console https://github.com/Pash-Project/Pash but it's not complete , get this error:

screen shot 2014-12-22 at 21 40 04

ewilde commented 9 years ago

Okay so i builds on mono (in Xamarin studio if you comment out the AfterTargets that copy the template files)

However you can take the crane.exe build on windows and run on mono:

screen shot 2014-12-22 at 21 51 16

ewilde commented 9 years ago

Build now runs on linux in azure: http://teamcity.cranebuild.com/viewType.html?buildTypeId=crane_FeatureBranchesMono

We also have a docker image for:

These images were build using docker files from our git repo: https://github.com/ewilde/crane/tree/develop/tools/docker

Here is crane running on the mono docker image:

image