danfran / hcoord

Easily convert between latitude/longitude, Universal Transverse Mercator (UTM) and Ordnance Survey (OSGB) references with Haskell.
Other
5 stars 2 forks source link

Add to exposed-modules or other-modules warning. #2

Open philderbeast opened 6 years ago

philderbeast commented 6 years ago

When I build, I see a warning that some modules should be added to exposed-modules or other-modules.

> stack build
...
Preprocessing executable 'hcoord-exe' for hcoord-1.0.0.0...

Warning: The following modules should be added to exposed-modules or other-modules in
/.../hcoord/hcoord.cabal:
             - In hcoord-test component:
                 DMS.Tests
                 ECEFRef.Tests
                 Equals
                 HUnitExtensions
                 IrishRef.Tests
                 LatLng.Tests
                 MGRSRef.Tests
                 OSRef.Tests
                 UTMRef.Tests

         Missing modules in the cabal file are likely to cause undefined reference
errors from the linker, along with other problems.