Skip to content
  • Tao He's avatar
    Read the `main-is` field from the cabal file for executables (#627) · f3192439
    Tao He authored and Andrey Mokhov's avatar Andrey Mokhov committed
    * For executables, we should read the `main-is` field from the cabal file.
    
    Previously, we simply treat file name for `Main` module as `Main.hs` to
    build executable. That doesn't work for the `timeout` program. This patch
    fixes the problem.
    
    * Add comments about the processing of `main-is` field from .cabal file.
    f3192439