bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
401 stars 61 forks source link

Don't clean the screen when building. Stop installation on errors. #188

Closed ranfdev closed 4 years ago

ranfdev commented 4 years ago

The controversial bit (- clear): I don't expect a build script to clean my terminal screen. I may have something "important" on it. If you want to easily distinguish between the old output and the new one, consider using a bigger or more noticeable terminal prompt, by editing your .bashrc or equivalent. For example, I added a \n before the default bash prompt, so i have more space between each command i run.

The actual improvement (+ set -e): The install script should stop when the build fails. I was missing some dependencies, so meson build failed, but the install.sh script kept executing, spamming useless errors. By setting set -e the bash script stops at the first error encountered.

bleakgrey commented 4 years ago

Fair enough