Re: [wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-09-11 Thread Eric Y. Kow
Slightly improved version with chmod u+x (oops) -- Eric Kow PGP Key ID: 08AC04F9 {-# LANGUAGE CPP #-} import Control.Monad (foldM_, forM_) import Data.Maybe ( fromMaybe ) import System.Cmd import System.Exit import System.Info (os) import System.Fil

[wxhaskell-users] making 'cabal install' just work for MacOS X gui apps

2009-09-11 Thread Eric Y. Kow
Hi everybody, Attached are a Setup.hs file and a small addendum which you can use to 'cabal install' your wxHaskell apps on MacOS X without having to jump through any extra hoops like calling the macosx-app script. Note that the Setup.hs *should* be general enough to just work with your applicati