]> _ Git - alire.git/commit
alire_common.gpr: remove default host os to avoid mistakes on macOS (#1298)
authorFabien Chouteau <Fabien-Chouteau@users.noreply.github.com>
Tue, 31 Jan 2023 10:39:56 +0000 (11:39 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Jan 2023 10:39:56 +0000 (11:39 +0100)
commitf9b34b577896198dcf6b3befd0c97fc773f744d1
tree055599970018494e590abb74841f985bd6aed3e3
parent748b833f82b22d2234d3e03eee7628b3036927ef
alire_common.gpr: remove default host os to avoid mistakes on macOS (#1298)

* alire_common.gpr: remove default host os to avoid mistakes on macOS

With the default being Linux, macOS users will not notice any issue until they try to use the executable.
Even then the issue will be obscure.

* Remove any implicit detection of the host OS

This should avoid misbuilds that mix Linux/macOS.

A bash function is now provided for detection of the OS in our scripts.

---------

Co-authored-by: Alejandro R. Mosteo <amosteo@unizar.es>
15 files changed:
.github/workflows/ci-windows.yml
README.md
alire.gpr
alire.toml
alire_common.gpr
alr.gpr
alr_env.gpr
dev/build.sh [new file with mode: 0755]
dev/devbuild.sh [deleted file]
dev/functions.sh [new file with mode: 0755]
dev/gpslaunch.sh [deleted file]
dev/pull.sh [deleted file]
dev/push.sh [deleted file]
dev/unused.sh
scripts/ci-github.sh