From 0a19027cd31b1c999bf544c9285a7def2aa308ad Mon Sep 17 00:00:00 2001 From: Piotr Orzechowski Date: Tue, 21 Feb 2023 10:55:20 +0100 Subject: [PATCH] Mention dev/build.sh and fix typos in readme (#1331) * Fix readme typos * Mention dev/build.sh in readme --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6c703f79..5a46ff81 100644 --- a/README.md +++ b/README.md @@ -40,16 +40,17 @@ Follow these steps: 1. Clone the repository: `git clone --recurse-submodules https://github.com/alire-project/alire.git` 1. Enter the cloned repository folder. -1. Export the environment variable `ALIRE_OS=` -1. Build the executable: `gprbuild -j0 -p -P alr_env` +1. Build the executable: + * if you have Bash on your system: `dev/build.sh` + * if you don't have Bash on your system: `ALIRE_OS= gprbuild -j0 -p -P alr_env` The binary will be found at `bin/alr`. You can run `alr version` to see version and diagnostics information. -Sourcing the `scripts/alr-completion.bash` file will provide bash tab autocompletion. +Sourcing the `scripts/alr-completion.bash` file will provide Bash tab autocompletion. ## Building with `alr` -If you already have a recent enough `alr` binary, you can alternative build +If you already have a recent enough `alr` binary, you can alternatively build `alr` by simply running `alr build` at the root of the repository. This command will retrieve all necessary dependencies prior to launching the build and configure the environment. -- 2.39.5