1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-05 20:15:26 +03:00

Describe repls in shell

This commit is contained in:
Nicolas Mattia 2019-06-16 09:39:49 +00:00
parent c25bc7efc0
commit 22836aceb1

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 " ..."
'';
};