When running the setup.sh(/setup.ps1?) scripts, you get blasted by the output of git making multiple commits, branches, checkouts, etc. We can definitely smooth this out.
My initial thought would be to put the contents of the current setup.sh scripts in a hidden file, e.g. .actualSetup.sh, then have setup.sh simply call that, piping it to /dev/null:
#!/bin/bash
echo "Setting up exercise.."
if (args contains --debug or something)
./actualSetup.sh
else
./.actualSetup.sh > /dev/null
fi
echo "Done! Enjoy!"
When running the
setup.sh
(/setup.ps1
?) scripts, you get blasted by the output of git making multiple commits, branches, checkouts, etc. We can definitely smooth this out.My initial thought would be to put the contents of the current
setup.sh
scripts in a hidden file, e.g..actualSetup.sh
, then havesetup.sh
simply call that, piping it to/dev/null
: