hgis 0.1.3.4 → 0.1.3.5
raw patch · 3 files changed
+10/−6 lines, 3 filesdep ~hgisdep ~hspec
Dependency ranges changed: hgis, hspec
Files
- hgis.cabal +4/−4
- src/GIS/Exe/Parser.hs +4/−1
- stack.yaml +2/−1
hgis.cabal view
@@ -1,5 +1,5 @@ name: hgis-version: 0.1.3.4+version: 0.1.3.5 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -84,7 +84,7 @@ main-is: MainPng.hs build-depends: base >=4.9.1.0 && <4.10,- hgis >=0.1.3.4 && <0.2+ hgis >=0.1.3.5 && <0.2 default-language: Haskell2010 hs-source-dirs: app @@ -93,8 +93,8 @@ main-is: Spec.hs build-depends: base >=4.9.1.0 && <4.10,- hgis >=0.1.3.4 && <0.2,- hspec >=2.4.2 && <2.5+ hgis >=0.1.3.5 && <0.2,+ hspec >=2.4.3 && <2.5 default-language: Haskell2010 hs-source-dirs: test ghc-options: -threaded -rtsopts -with-rtsopts=-N
src/GIS/Exe/Parser.hs view
@@ -25,7 +25,10 @@ ( command "compute" (info computationP ( progDesc "Compute perimeter, area, etc. of map" )) <> command "map" (info mapMaker ( progDesc "Make a map from a shapefile database." )) <> command "labelmap" (info mapLabelMaker ( progDesc "Make a map from a shapefile database, and label areas with relevant info" )))- <*> ( argument str ( metavar "SHAPEFILE" <> help "Path to .shp file" ) )+ <*> ( argument str + (metavar "SHAPEFILE" + <> help "Path to .shp file"+ <> completer (bashCompleter "file -X '!*.shp' -o plusdirs"))) -- | Parses the `Command` datatype into a Computation computationP :: Parser Command
stack.yaml view
@@ -15,7 +15,8 @@ # resolver: # name: custom-snapshot # location: "./custom-snapshot.yaml"-resolver: lts-8.5+#resolver: lts-8.5+resolver: lts-8.18 # User packages to be built. # Various formats can be used as shown in the example below.