Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squelch setup output #240

Open
praqma-thi opened this issue Apr 29, 2020 · 1 comment
Open

Squelch setup output #240

praqma-thi opened this issue Apr 29, 2020 · 1 comment

Comments

@praqma-thi
Copy link

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!"
@praqma-thi
Copy link
Author

The suggestion definitely makes things a little more complicated, though, so I'm open for any suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant