ion issueshttps://gitlab.redox-os.org/redox-os/ion/-/issues2021-06-01T10:24:06Zhttps://gitlab.redox-os.org/redox-os/ion/-/issues/986setup CI and regression tests for macOS2021-06-01T10:24:06ZRoland Teppsetup CI and regression tests for macOSmacOS: 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`
```bash
❯ sudo make install prefix=/usr
install -Dm0755 target/release/ion //usr/bin/i...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`
```bash
❯ 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.Ion Shell v1.0.0betahttps://gitlab.redox-os.org/redox-os/ion/-/issues/924Script calling with parameter for ion results in ion only evaluating the para...2020-12-16T18:02:06Zmatu3baScript calling with parameter for ion results in ion only evaluating the parameter and quiting the scriptDefer ion parameters [program or path name shall never start with - or -- (otherwise it gets messy to parse/decide)]
Case 1: If most leftward argument is ion option, only valid ion options may follow or error.
Case 2: If not, defer e...Defer ion parameters [program or path name shall never start with - or -- (otherwise it gets messy to parse/decide)]
Case 1: If most leftward argument is ion option, only valid ion options may follow or error.
Case 2: If not, defer evaluation to use explicit statement (later to be specified).
Other solution would explicitly check all most leftward arguments ever to evaluate for shell option, which looks inefficient.
```
#!/usr/bin/env ion
echo 'test'
```
called by
`# ./test.sh --version`
result:
ion 1.0.0-alpha (x86_64-unknown-linux-gnu)
rev a5fb10c7741be5108d262e03db33b48360279cc6Ion Shell v1.0.0betamatu3bamatu3bahttps://gitlab.redox-os.org/redox-os/ion/-/issues/420testing: Increase Test Unit Coverage2021-06-01T11:06:25ZMichael Aaron Murphymmstick@pm.metesting: Increase Test Unit CoverageWe should perform an extensive code review at some point as we near a stable release, and create tests everywhere where possible (likely refactoring with closures to increase the test-ability of certain functions). When we are ready to d...We should perform an extensive code review at some point as we near a stable release, and create tests everywhere where possible (likely refactoring with closures to increase the test-ability of certain functions). When we are ready to do this, we should make a list of all the source files in the codebase, and then one by one review, test, and check that file off the list.Ion Shell v1.0.0betamatu3bamatu3ba