Users will have to load this into their shell by sourcing the file,
either directly (at the command line) or in their .bashrc, like this:
source /path/to/bootstrap/install/run-example-completion.bash
Then tab completion will show the output of --list in run-example.
Note that --list isn't actually entirely well-suited for this, so there
is extra garbage that is offered. A change would be needed to
run-example to give it a mode specifically for completion. This does
work, at present.
This also works for zsh.
* Update README to specify curl and suggest pyenv
Curl is required and should not have been omitted. Since we mention 18.04, we should acknowledge that the system python is no good and point users to pyenv to install 3.8
* Updates from discussion
Add a quick-start section; clarify some of the getting-started sections; add a section on Ada.
This is not required to install GNAT CE, but it is required to run GNAT Studio. Since the goal of bootstrap is to get everything set up for the user, it seems more friendly to go ahead and install libncurses5 at the outset.
Rather than having a growing collection of bootstrap scripts, we provide a single bootstrap script whose behavior is controlled through environment variables.
Remove Travis config, since it's no longer needed.
Improve the naming in the Checks workflow and tweak the formatting of the file. Also add python 3.7 to the checks. This matters because the anod build will use python 3.7
* Support python 3.7 and install pyzmq
The latter is needed for testing, and was omitted accidentally.
* Add e3-testsuite
Needed for running the Ada tests.
* Rename setenv to printenv
This is done for anod internally and seems much more clear than `setenv` (given that it doesn't actually set anything).
Options to print the environment for the installer are also modified to `--printenv` which is consistent with internal anod.
Clean up the output of install - specifically, have it give a correct set of commands to add to the .profile.
Finally, use the better (safer) syntax for the eval, so the user can get used to it.
* Fix anod help when a subcommand is given
Previously, --help would always short circuit, even if it was given after a subcommand. This made `anod build --help` unhelpful, as you'd not see the options for build.
This commit fixes that. Requires e3-core ≥ 22.1.0
Support pre-commit checks used in AdaCore/e3-core
These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent.
Documentation of how to set up and run the checks is in CONTRIBUTING.md