diff --git a/app/Main.hs b/app/Main.hs index b49bacf..622e219 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -3,19 +3,19 @@ module Main where import Data.Aeson qualified as Aeson import Data.ByteString.Lazy (ByteString) import Data.ByteString.Lazy.Char8 qualified as ByteString +import Data.Text (Text) +import Data.Text.Display (display) +import Data.Vector (Vector) import Data.Vector qualified as Vector import Effectful import Effectful.Error.Static import Options.Applicative import System.Exit -import Data.Text (Text) -import Data.Text.Display (display) -import Data.Vector (Vector) -import Extract -import Types import Data.Version (showVersion) +import Extract import Paths_get_tested (version) +import Types data Options = Options { path :: FilePath @@ -51,7 +51,7 @@ parseOptions = <*> optional (strOption (long "ubuntu-version" <> metavar "VERSION" <> help "Enable the Ubuntu runner with the selected version")) <*> switch (long "windows" <> help "(legacy) Enable the Windows runner's latest version") <*> optional (strOption (long "windows-version" <> metavar "VERSION" <> help "Enable the Windows runner with the selected version")) - <**> simpleVersioner (showVersion version) + <**> simpleVersioner (showVersion version) runOptions :: Options -> Eff [Error ProcessingError, IOE] ByteString runOptions options = do diff --git a/get-tested.cabal b/get-tested.cabal index 00f763d..5932357 100644 --- a/get-tested.cabal +++ b/get-tested.cabal @@ -48,8 +48,8 @@ executable get-tested other-modules: Extract - Types Paths_get_tested + Types build-depends: , aeson ^>=2.1