GoogleCloudPlatform / reliable-app-platforms

A MVP of a platform for delivering reliable applications on Google Cloud
Apache License 2.0
19 stars 6 forks source link

allow (build and deploy) scripts to run on a mac, not just linux #58

Open stevemcghee opened 4 months ago

stevemcghee commented 4 months ago

this is annoying for local builds:

if [[ $OSTYPE != "linux-gnu" ]]; then
    echo -e "\e[91mERROR: This script has only been tested on Linux. Currently, only Linux (debian) is supported. Please run in Cloud Shell or in a VM running Linux".
    exit;
fi

i think its related to how we used to use sed which is BSD flags on a mac.