Question

I'm looking at cross-platform build systems for .Net projects. Phantom looks interesting, however I'm wondering if it will work OK on Linux with Mono. It is built on top of Boo. It seems like Boo has some support in Mono (http://www.mono-project.com/Boo), but I don't know too much about it.

Can I use Phantom on a Mono/Linux setup?

Was it helpful?

Solution

I have just tested it. Although it is a good candidate, it does not work 100% well out of the box on (at least my) Linux machine. I was able to compile it with xbuild (you can't do it with the phantom.exe in the libs, because it is too old to have important check from the Mono's point of view). Many of the Phantom's unit tests pass, however not all, can't really tell whether they are core functionalities. There are also some issues with casing, mainly with NuGet.exe, these can be worked around using MONO_IOMAP. So overall, if you are looking for something which is tested and already works, I would not recommend it (yet! - one can see from the github that Linux was at least tried to be supported).

I can propose you two alternative solutions:

xbuild is the Mono's equivalent of MSBuild. It works well most of the time, although not all of the features present in MSBuild are implemented. The sln/proj format is also used in MonoDevelop and Visual Studio. It is good enough for many projects, for example this is what Mooege project uses and what I've used most of the time.

NAnt is quite mature, actively developed build system with Ant-like approach, so it will probably suit you when more sophisticated builds are needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top