-
* Add support for application-dir and creating library hs file. This adds support for specifying an "application directory" for the Main.hs executable entrypoint to be located in ("app" is common). This also generates a MyLib.hs file when initializing a new project that is 'Library' or 'LibraryAndExecutable'. For the latter, the 'Main' module also imports this library and uses it. * Fix otherModules bug when MyLib and Main are in the same directory. * Don't ask for "source dir" if this is an executable. That's what applicationDir is for. * Comments, explicitly handle 'Library' in getModulesBuildToolsAndDeps * Code cleanups. - More concise comments. - Simplified code to write MyLib. - Share directory creation code. * Update changelog. [ci skip] * Remove extraneous let. * Add support for application-dir and creating library hs file. This adds support for specifying an "application directory" for the Main.hs executable entrypoint to be located in ("app" is common). This also generates a MyLib.hs file when initializing a new project that is 'Library' or 'LibraryAndExecutable'. For the latter, the 'Main' module also imports this library and uses it. * Fix otherModules bug when MyLib and Main are in the same directory. * Don't ask for "source dir" if this is an executable. That's what applicationDir is for. * Comments, explicitly handle 'Library' in getModulesBuildToolsAndDeps * Code cleanups. - More concise comments. - Simplified code to write MyLib. - Share directory creation code. * Update changelog. [ci skip] * Remove extraneous let. * More library and application directory suggestions. * Fix merge bug and reword interactive prompt. * Wording.
d59a224d