setup CI and regression tests for macOS
macOS: install: illegal option -- D
I was trying to install ion shell on macOS and this is the error I am getting when executing
sudo make install
❯ sudo make install prefix=/usr install -Dm0755 target/release/ion //usr/bin/ion install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make: *** [install] Error 64
Google search suggests that -D option does not exist under macOS/Darwin and suggests using -d instead, but I am not experienced enough with install utility (or Makefile) to understand the subtle differences of the two and fix it myself.