Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa McHale committed Mar 25, 2019
1 parent 109a6c3 commit f56f517
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ats-pkg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ats-pkg

## 3.2.5.11

* Set UTF8 encoding in all cases

## 3.2.5.10

* Use better URL
Expand Down
5 changes: 4 additions & 1 deletion ats-pkg/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ import Data.Version hiding (Version (..))
import Development.Shake.ATS
import Development.Shake.FilePath
import Distribution.CommandLine
import GHC.IO.Encoding (setLocaleEncoding)
import Language.ATS.Package
import Language.ATS.Package.Dhall
import Language.ATS.Package.Upgrade
import Lens.Micro
import Options.Applicative
import Paths_ats_pkg
import Quaalude hiding (command, pack)
import System.IO (utf8)
import System.IO.Temp (withSystemTempDirectory)

-- TODO command to list available packages.
Expand Down Expand Up @@ -210,7 +212,8 @@ fetchPkg mStr pkg v = withSystemTempDirectory "atspkg" $ \p -> do
stopGlobalPool

main :: IO ()
main = execParser wrapper >>= run
main = setLocaleEncoding utf8 *>
execParser wrapper >>= run

runHelper :: Bool -> Bool -> Bool -> [String] -> Maybe String -> Maybe String -> Int -> IO ()
runHelper rba lint tim rs mStr tgt v = g . bool x y . (&& isNothing tgt) =<< check mStr Nothing
Expand Down
2 changes: 1 addition & 1 deletion ats-pkg/ats-pkg.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.0
name: ats-pkg
version: 3.2.5.10
version: 3.2.5.11
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018-2019 Vanessa McHale
Expand Down

0 comments on commit f56f517

Please sign in to comment.