parent
03e10b2cc9
commit
052e943221
12
README.md
12
README.md
|
@ -60,18 +60,18 @@ require fixing:
|
||||||
# mkdir brittany
|
# mkdir brittany
|
||||||
# cd brittany
|
# cd brittany
|
||||||
# cabal sandbox init
|
# cabal sandbox init
|
||||||
cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8
|
cabal install brittany --bindir=$HOME/.cabal/bin # -w $PATH_TO_GHC_8_0
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
- via `cabal new-build`
|
- via `cabal new-build`
|
||||||
|
|
||||||
~~~~.sh
|
~~~~.sh
|
||||||
git clone https://github.com/lspitzner/brittany.git
|
cabal unpack brittany
|
||||||
cd brittany
|
cd brittany-0.8.0.2
|
||||||
# cabal new-configure -w $PATH_TO_GHC_8
|
# cabal new-configure -w $PATH_TO_GHC_8_0
|
||||||
cabal new-build brittany
|
cabal new-build exe:brittany
|
||||||
# and it should be safe to just copy the executable, e.g.
|
# and it should be safe to just copy the executable, e.g.
|
||||||
cp ./dist-newstyle/build/brittany-0.8.0.0/build/brittany/brittany $HOME/.cabal/bin/
|
cp `./find dist-newstyle/build/ -type f -name brittany` $HOME/.cabal/bin/
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
- via `stack`
|
- via `stack`
|
||||||
|
|
Loading…
Reference in New Issue