Hey guys, did a little cleanup and fixed stuff stack build complained about. I think this should all be good, but was unsure about a couple points:
not 100% I did the change to the cabal file right.
EDITED: Okay, so I think I understand this now. We have a build target for Library, it lists the modules which will be required outside this module (directly or indirectly) under 'exposed-modules'. Then the build target which requires them (the executable) lists them again under 'other-modules'. This is fixed in the second commit on this branch. running 'stack ghci' now builds the modules correctly and loads them.
I think we should gitignore everything in the .idea and .stack-work dirs. Do you concur?
I'm assuming our src file can contain all of our code, possibly with sub-dirs for further organization. Main imports Lib, Lib imports anything else it needs. Anyone want to organize it differently?
summary of changes:
-edited .gitignore to ignore whole .idea dir, .stack-work dir; removed .stack-work from git index
-added Lib and Quadtree files
-added Lib and Quadtree to 'other-modules' in cabal file
-corrected 'GPLv3' to 'GPL-3' in cabal because stack-build complained.
Hey guys, did a little cleanup and fixed stuff stack build complained about. I think this should all be good, but was unsure about a couple points:
summary of changes: -edited .gitignore to ignore whole .idea dir, .stack-work dir; removed .stack-work from git index -added Lib and Quadtree files -added Lib and Quadtree to 'other-modules' in cabal file -corrected 'GPLv3' to 'GPL-3' in cabal because stack-build complained.