This commit adds a new command to anod: `anod configure-vscode`. When
run, this command will create the file `c_cpp_properties.json` and place
it, by default, in `develop/OpenUxAS/.vscode`. The configuration will
include the necessary include search paths for the spec given.
The envisioned use case is during OpenUxAS development. When `anod
devel-setup` is run, `anod configure-vscode` is automatically run: this
yields the correct c_cpp_properties.json to provide full intellisense
for OpenUxAS development.
If desired, the user can override the default destination or can output
the configuration to STDOUT.
Support printing environments on a single line, suitable for inclusing
before a command. This is useful for integration with Make.
Also update the README, anticipating changes in OpenUxAS that will use
this feature.
Fix formatting issue in anod and paths
* 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.
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
Master `anod` script that dispatches to subscripts for action.
Add `paths` module, which group common path-related constants.
Improve anod-devel-setup to use e3 and logging.