Skip to content

Instantly share code, notes, and snippets.

View devmacrile's full-sized avatar

Devin Riley devmacrile

View GitHub Profile
@alberthdev
alberthdev / bootstrap.sh
Created March 19, 2021 02:56
bootstrap.sh
#!/bin/bash
# This script aims to build a bootstrap CMake + gRPC environment for
# your project! It tries and saves space for the build - shallow cloning
# by default. Post build it'll take 1.5 GBs total, 340 MBs for just the
# final binaries needed for your project.
#
# magical bash snip @ https://stackoverflow.com/a/246128
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
becho() { echo -e "\e[1m$@\e[0m"; }