From 296629b96c3e17f75a531aebd627027f585fa3e1 Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Wed, 17 May 2017 23:24:15 +0200 Subject: [PATCH] Update README.md (installation); Fix copyright notice --- README.md | 46 +++++++++++++++++++++++--------------------- brittany.cabal | 7 ++++++- src-brittany/Main.hs | 2 +- 3 files changed, 31 insertions(+), 24 deletions(-) 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