1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

Merge pull request #92 from nmattia/nm-readme-repl

Describe repls in shell
This commit is contained in:
Nicolas Mattia 2019-06-16 11:51:39 +02:00 committed by GitHub
commit 0921a0107c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,8 +38,21 @@ with rec
ghci -Wall app/NivTest.hs src/**/*.hs
}
echo "To start a REPL session, run:"
repl_niv() {
shopt -s globstar
ghci -Wall app/Niv.hs src/**/*.hs
}
echo "To start a REPL session for the test suite, run:"
echo " > repl"
echo " > :main"
echo " (tests run)"
echo
echo "To start a REPL session emulating the niv executable, run:"
echo " > repl_niv"
echo " > :main --help ..."
echo " NIV - Version manager for Nix projects"
echo " ..."
'';
};