[Haskell-beginners] development workflow ?

Daniel Trstenjak daniel.trstenjak at gmail.com
Fri Apr 25 14:55:36 UTC 2014


Hi John,

On Fri, Apr 25, 2014 at 09:41:32AM -0500, John M. Dlugosz wrote:
> How do you normally go about developing a new version of a package?

A cabal sandbox with 'add-source' might help here.

If your directory tree looks something like:

   /whatever/customgloss
   /whatever/yourproject

Then you could do:

   cd /whatever/yourproject
   cabal sandbox init
   cabal sandbox add-source ../customgloss
   cabal install

If your code in 'customgloss' changes, then calling again 'cabal install'
in 'yourproject' will rebuild 'customgloss'.

But you might rethink if copying 'gloss' that way is really a good long term solution.


Greetings,
Daniel


More information about the Beginners mailing list