From a90b2337dc8d1aff54489b2c78df9d290bda9e6c Mon Sep 17 00:00:00 2001 From: fanghr Date: Fri, 13 May 2022 20:30:11 +0800 Subject: [PATCH] fix lint/tag; run linter --- Makefile | 6 +++--- agora-purescript-bridge/Options.hs | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index dbc3fd6..887a617 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,11 @@ haddock: cabal haddock --haddock-html --haddock-hoogle --builddir=haddock tag: - hasktags -x agora agora-bench agora-test + hasktags -x agora agora-bench agora-test agora-testlib agora-sample agora-purescript-bridge lint: - hlint agora agora-bench agora-test + hlint agora agora-bench agora-test agora-testlib agora-sample agora-purescript-bridge PS_BRIDGE_OUTPUT_DIR := agora-purescript-bridge/ ps_bridge: - cabal run exe:agora-purescript-bridge -- -o $(PS_BRIDGE_OUTPUT_DIR) \ No newline at end of file + cabal run exe:agora-purescript-bridge -- -o $(PS_BRIDGE_OUTPUT_DIR) diff --git a/agora-purescript-bridge/Options.hs b/agora-purescript-bridge/Options.hs index f4d2d27..b93c50b 100644 --- a/agora-purescript-bridge/Options.hs +++ b/agora-purescript-bridge/Options.hs @@ -14,13 +14,13 @@ data Options = Options outputOpt :: Opt.Parser FilePath outputOpt = srcFilePath - <$> ( Opt.strOption $ - Opt.long "output-path" - <> Opt.short 'o' - <> Opt.metavar "OUTPUT_PATH" - <> Opt.value "./" - <> Opt.help "Output purescripts will be in OUTPUT_PATH/src" - ) + <$> Opt.strOption + ( Opt.long "output-path" + <> Opt.short 'o' + <> Opt.metavar "OUTPUT_PATH" + <> Opt.value "./" + <> Opt.help "Output purescripts will be in OUTPUT_PATH/src" + ) quietOpt :: Opt.Parser Bool quietOpt =