Excerpts from John Wiegley's message of Fri Jun 28 05:46:31 +0200 2013: > How about building an executable along with the library called "cleanImports", Does it require knowledge about the libraries to be used? If so eventually it should be a cabal option? Or it should be able to load dependencies from a cabal configure file (.dist/something).
Then there should also be an env var CABAL_CURRENT_DIST_DIR or such, because sometimes you want to work on multiple dist directories. cabal could honor this itself. Then you could export CABAL_CURRENT_DIST_DIR=dist-foo ./Setup configure && ./Setup build cleanImports FOO And everything would work without --dist-dir=dist-foo parameter ? Marc Weber _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe