This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 31 Jan, 2008 7 commits
    • Duncan Coutts's avatar
      Adjust unlit's behaviour on continuing comments · 6174d0de
      Duncan Coutts authored
      This behaviour is not set in stone, there is not full agreement yet.
      The previous code was deciding wether to continue a comment based on wether
      the intervenienting lines were completely blank or had at least one space in.
      The other suggestion was to use a '.' to continue a comment line.
      Instead, this change uses a single blank line between comments to continue
      a comment and anything else terminates it with a blank line.
      6174d0de
    • Duncan Coutts's avatar
      Use Setup.hs like everyone else does · 08cc3c88
      Duncan Coutts authored
      and note the issue about custom vs simple build-type for Cabal itself.
      08cc3c88
    • Duncan Coutts's avatar
      Improve the QA messages a bit, use the same style as the sanity check messages · ee8eedbe
      Duncan Coutts authored
      Slightly more like full sentances and using '' quotes for field names etc.
      ee8eedbe
    • Duncan Coutts's avatar
      Find original sources for main-is when creating sdist · b61cb051
      Duncan Coutts authored
      Also add a package sanity check that main-is must specify a .hs or .lhs file.
      So the bahaviour is now that main-is specifies the main source file, even if
      that is generated by a pre-processor. This isn't really a change in behaviour
      since previously if you specified main-is: main.hsc then it would try to
      pass the .hsc file to ghc dirctly which would not work. For ticket #14 things
      were fixed to that it would look for main.hsc if you used main-is: main.hs an
      that file did not exist directy. This completes the other half, of actually
      being able to make a src distribution. So this should fix bug #217.
      Note that this still needs some work, we do not run platform-independent
      preprocessors and put the result into the tarball for main-is files.
      Generally, main-is has been the second class citizen compared to normal
      modules. We should try and refactor so both use the same code paths.
      b61cb051
    • Duncan Coutts's avatar
      Eliminate now-redundant Bool flag on smartCopySources · 58c9693a
      Duncan Coutts authored
      and simplfy the implementation to be a simple composition of
      findFileWithExtension' and copyFiles with some additonal error checking.
      58c9693a
    • Duncan Coutts's avatar
      Stop using smartCopySources in SrcDist · 2edfa269
      Duncan Coutts authored
      This was the old module using it in with preserveDirs = True.
      Anyway, we should be using smartCopySources for each lib and exe, we should be
      collecting all the files to copy together into one list, then eliminating
      duplicates and doing a single copyFiles operation. Yes, there can be
      duplicates because for example exes can specify the libbrary's modules or 
      even the other exe's main module as other-modules.
      2edfa269
    • Duncan Coutts's avatar
      findPackageDesc has to return a relative path for SrcDist · 1bee68ef
      Duncan Coutts authored
      otherwise we fail to copy the .cabal file when into the src tree
      1bee68ef
  2. 30 Jan, 2008 4 commits
  3. 29 Jan, 2008 1 commit
  4. 30 Dec, 2007 3 commits
  5. 04 Dec, 2007 2 commits
  6. 30 Jan, 2008 1 commit
  7. 29 Jan, 2008 1 commit
  8. 27 Jan, 2008 2 commits
  9. 13 Jan, 2008 1 commit
  10. 29 Jan, 2008 1 commit
  11. 28 Jan, 2008 1 commit
  12. 27 Jan, 2008 2 commits
  13. 26 Jan, 2008 1 commit
  14. 27 Jan, 2008 1 commit
  15. 26 Jan, 2008 7 commits
  16. 25 Jan, 2008 1 commit
  17. 20 Sep, 2007 1 commit
  18. 24 Jan, 2008 1 commit
  19. 25 Jan, 2008 1 commit
  20. 24 Jan, 2008 1 commit