mirror of
https://github.com/nmattia/niv.git
synced 2024-09-18 19:07:19 +03:00
Describe repls in shell
This commit is contained in:
parent
c25bc7efc0
commit
22836aceb1
15
default.nix
15
default.nix
@ -38,8 +38,21 @@ with rec
|
|||||||
ghci -Wall app/NivTest.hs src/**/*.hs
|
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 " > 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