Commit d7f77bac authored by Andrew Gibiansky's avatar Andrew Gibiansky

Only print the cabal commands from build.sh

parent 8379d79d
#!/bin/sh #!/bin/sh
set -e set -e
set -x
function print_help { function print_help {
echo "Run build.sh from inside the IHaskell directory to install packages in this repository:" echo "Run build.sh from inside the IHaskell directory to install packages in this repository:"
...@@ -70,7 +69,9 @@ done ...@@ -70,7 +69,9 @@ done
INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'` INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'`
if [ `uname` = Darwin ]; then if [ `uname` = Darwin ]; then
echo CMD: cabal install --constraint "arithmoi -llvm" -j $INSTALL_DIRS --force-reinstalls
cabal install --constraint "arithmoi -llvm" -j $INSTALL_DIRS --force-reinstalls cabal install --constraint "arithmoi -llvm" -j $INSTALL_DIRS --force-reinstalls
else else
echo CMD: cabal install -j $INSTALL_DIRS --force-reinstalls --constraint "arithmoi==0.4.*"
cabal install -j $INSTALL_DIRS --force-reinstalls --constraint "arithmoi==0.4.*" cabal install -j $INSTALL_DIRS --force-reinstalls --constraint "arithmoi==0.4.*"
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment