diff --git a/README.md b/README.md index 635873d..29d4ed7 100644 --- a/README.md +++ b/README.md @@ -48,33 +48,35 @@ linear in the size of the input (although the constant factor is not small). comments are moved slightly; there are also cases where comments result in wonky newline insertion (although this should be a purely aesthetic issue.) -# Building +# Installation -(This does not cover _installation_. TODO) +- via `cabal` "old-build" -via `cabal new-build` + ~~~~.sh + git clone https://github.com/lspitzner/brittany.git + cd brittany + cabal sandbox init + cabal install --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8 + ~~~~ -~~~~.sh -mkdir brittany-project -cd brittany-project/ -git clone https://github.com/lspitzner/butcher.git -git clone https://github.com/lspitzner/data-tree-print.git -git clone https://github.com/lspitzner/ghc-exactprint.git -git clone https://github.com/lspitzner/brittany.git -cat > cabal.project <=1.10 homepage: https://github.com/lspitzner/brittany/ bug-reports: https://github.com/lspitzner/brittany/issues +source-repository head { + type: git + location: https://github.com/lspitzner/brittany.git +} + flag brittany-dev description: dev options default: False diff --git a/src-brittany/Main.hs b/src-brittany/Main.hs index f2a3018..bbfb7da 100644 --- a/src-brittany/Main.hs +++ b/src-brittany/Main.hs @@ -80,7 +80,7 @@ mainCmdParser helpDesc = do when printVersion $ do liftIO $ do putStrLn $ "brittany version " ++ showVersion version - putStrLn $ "Copyright (C) 2016 Lennart Spitzner" + putStrLn $ "Copyright (C) 2016-2017 Lennart Spitzner" putStrLn $ "There is NO WARRANTY, to the extent permitted by law." System.Exit.exitSuccess when printHelp $ do