If your module statements say Swish in them, e.g.

module Swish.HaskellUtils.TestHelpers where ....

then you should probably have no hs-source-dirs (or hs-source-dirs: .) and then use Swish.HaskellUtils.TestHelpers.

But leave Main-Is: as you have it.

-Ross

On Jun 5, 2009, at 4:49 PM, Vasili I. Galchin wrote:

getting farther .....

Executable         GraphPartitionTest
   Hs-source-dirs: Swish/                              << added this
Main-Is: HaskellRDF/GraphPartitionTest.hs <<< changed to a real filesystem path
   Other-modules:  HaskellRDF.GraphPartition
                   HaskellRDF.GraphClass
                   HaskellUtils.ListHelpers
HaskellUtils.TestHelpers <<< now says "can't find module 'Swish.HaskellUtils.TestHelpers'"???

Vasili


On Fri, Jun 5, 2009 at 3:28 PM, Gwern Branwen <gwe...@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Fri, Jun 5, 2009 at 4:10 PM, Vasili I. Galchin wrote:
> for directory structure I Swish-0.2.1/Swish/HaskellRDF and
> Swish-0.2.1/Swish/HaskellUtils ... there are deeper directories but that
> distract from the discussion ... to make things concete:
>
> 1) swish.cabal is directly under Swish-0.2.1
>
> 2) GraphPartitionTest.hs is under Swish-0.2.1/Swish/HaskellRDF
>
> 3) GraphPartitionTest's dependencies are either under HaskellRDF or
> HaskellUtils
>
> Hope this helps to make things clearer. I added a "Hs-source-dirs" but that
> help.
>
> I did a "ruinhaskell Setup -?" to check on options. I don't see any verbose > mode so that when I do "runhaskell Setup build" I can moniitor the progress
> of my build for diagnostic purposes! Is there a verbose mode?
>
> Thanks,
>
> Vasili
[04:27 PM] 0Mb$ build --help
Usage: Setup build [FLAGS]

Flags for build:
 -h --help              Show this help text
-v --verbose[=n] Control verbosity (n is 0--3, default verbosity level
                       is 1)
--builddir=DIR The directory where Cabal puts generated build files
                       (default dist)
   --with-PROG=PATH    give the path to PROG
   --PROG-options=OPTS give extra options to PROG
--PROG-option=OPT give an extra option to PROG (no need to quote options
                       containing spaces)

- --
gwern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAkopf/sACgkQvpDo5Pfl1oIZfgCeInjWOqdxejdpsBaI62YHkSHu
BvIAn1ZsC9rCYmluCW2UCmFGVFcAw3bh
=S6In
-----END PGP SIGNATURE-----

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to