1 import Test
.Cabal
.Prelude
2 -- Test to see if --gen-script
3 main
= setupAndCabalTest
$ do
4 is_windows
<- isWindows
9 setup
"register" ["--gen-script"]
11 then shell
"cmd" ["/C", "register.bat"]
12 else shell
"sh" ["register.sh"]
14 -- Make sure we can see p
15 withDirectory
"r" $ setup_install
[]