Modify scripts to run on MacOS (#233)

Updates scripts/docs to support macOS as well as Linux/aarch64 (arm64)
This commit is contained in:
Janaka-Steph
2023-01-16 21:05:35 +01:00
committed by GitHub
parent b78cf06870
commit d13521daef
15 changed files with 121 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
PROJECT_ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
PROJECT_ROOT="$(dirname "$(dirname "$(realpath "$0")")")"
cd "${PROJECT_ROOT}" || exit 1
# Make sure no one is souring the script before we change GOBIN