diff --git a/Makefile.toml b/Makefile.toml index e6cf576..a6acb1a 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -122,8 +122,19 @@ dependencies = ["install_cfitsio"] [tasks.linux_install_deps] dependencies = ["linux_install_aoflagger"] +[tasks.mac_install_deps] +script = """ +if [[ $(uname -m) == 'arm64' ]]; then + arch -arm64 brew upgrade || echo "huh?" + arch -arm64 brew install casacore/tap/casacore mwatelescope/tap/aoflagger +else + brew install casacore/tap/casacore mwatelescope/tap/aoflagger +fi +""" + [tasks.install_deps] linux_alias = "linux_install_deps" +mac_alias = "mac_install_deps" [tasks.linux_check_deps] script = """