[email protected] writes: Hi VIFFers :-)
> http://hg.viff.dk/viff/rev/1121ca038c8b > changeset: 492:1121ca038c8b > user: Martin Geisler <[EMAIL PROTECTED]> > date: Fri Mar 07 23:47:25 2008 +0100 > summary: Added simple script to control the build process. Those of you who follow the commits will have seen that I have comitted a script called run.py which now has the responsibitity of running all our tests and building documentation. At first I thought about making a Makefile, but I guess that wont run easily on Windows. And since VIFF already requires Python and Twisted, I made a Python script instead. The idea is that Buildbot (http://buildbot.viff.dk) will run the script and instead of putting logic into the Buildbot, we can put it in the script where everybody can see it. So far I have moved all the commands for the Linux systems I have access to and things finally seem to work. People on other platforms will hopefully be able to check if things work there too, and if not, I hope they can fix it by hacking run.py. There you can use all the platform specific tricks you can come up with :-) For example, to run special code for when you are on Windows you will do import sys if sys.platform == "win32": # Do Windows stuff... else: # Do default stuff... For Mac OS X the sys.platform string is "darwin" as far as I know. I hope that this script will finally enable us to have regular builds on all three major platforms, so please start hacking :-) -- Martin Geisler
pgpF7oyEQF0l1.pgp
Description: PGP signature
_______________________________________________ viff-devel mailing list (http://viff.dk/) [email protected] http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
