shorebirdtech / docs

The shorebird docs site
https://docs.shorebird.dev
MIT License
9 stars 22 forks source link

Update CodeMagic install instructions to support linux #94

Closed bulwinkel closed 1 year ago

bulwinkel commented 1 year ago

Status

READY

Description

Using a linux_x2 build machine, the 'Shorebuild build' phase of the CodeMagic yaml file was failing to find the shorebird command on the path. I checked the output of the install script and noticed that the suggested path was different from the documentation.

Switched to mac_mini_m1 and it worked fine.

Updated the script to check OS and set path accordingly. Added the # Test at the bottom to catch errors in the path early rather than waiting until the build phase for it to fail.

This script modification has been tested on:

eseidel commented 1 year ago

Thanks for the patch!

eseidel commented 1 year ago

Thanks for sending this! I've made a similar change in https://github.com/shorebirdtech/docs/pull/97 per our discussion.