mirror of
https://github.com/nmattia/niv.git
synced 2024-09-19 11:27:40 +03:00
Merge pull request #92 from nmattia/nm-readme-repl
Describe repls in shell
This commit is contained in:
commit
0921a0107c
15
default.nix
15
default.nix
@ -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 " ..."
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user