Open ewilde opened 9 years ago
Glad that you like Cake! :)
There is currently no Mono support for Cake, but this is something being worked on. Right now we rely on Roslyn to compile the scripts for us, but until the script support in Roslyn vNext (x-plat) is implemented, the plan is to use Mono.CSharp
for Mono support. There has been a lot of issues with this though, so progress has been slow.
@patriksvensson thanks for the comment. (love how github helps people discover things!)
Took a quick glance at the scriptcs project, seems like there is a mono build of scriptcs https://github.com/scriptcs/scriptcs/wiki/Installing-on-Mac-and-Linux, which uses Mono.CSharp
https://github.com/scriptcs-contrib/scriptcs-engine-mono is that the one you were having issues with?
Ah no. Cake does not use ScriptCs, but uses Roslyn directly.
The biggest problem we had with Mono.CSharp
(https://www.nuget.org/packages/Mono.CSharp) is the errors that occur when capturing local variables in lambdas. Not sure if ScriptCs' script host have solved this.
https://github.com/cake-build/cake looks awesome
not sure is supports mono yet: https://github.com/cake-build/cake/issues/81