platformName

Lee Salzman lsalzman1 at cox.net
Sat Jun 11 15:37:56 PDT 2005


This needs to account for processor as well, and I'd rather this used
uname when available so we don't just flat-out eliminate all other 
platforms.

Lee

Waldemar Kornewald wrote:

>Hi,
>this is a quick-n-dirty plugin that adds a slot platformName (under
>delegated namespace platforms) containing the name of the current OS. It
>works under Linux and mingw/Windows.
>I hope a self-hosting Slate will save the platform string in the
>executable when you run
>compileFor: 'myplatform'.
>
>Bye,
>Waldemar
>  
>




More information about the Slate mailing list