6 Commits

Author SHA1 Message Date
M. Anthony Aiello
b5749b1aab Be specific about python version. (#1)
Make sure references to python in shebangs and in text specify python3
rather than simply python. This better supports convention of fresh
machines.
2020-08-04 15:41:19 -04:00
M. Anthony Aiello
2129f15918 Feature/rename setenv (#48)
* 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.
2020-06-24 09:09:30 -04:00
M. Anthony Aiello
acd1f3a425 Feature/fix anod help (#47)
* 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
2020-06-24 09:09:07 -04:00
M. Anthony Aiello
8737b1d748 Feature/style checks (#45)
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
2020-06-23 09:54:41 -04:00
M. Anthony Aiello
2013893804 Refactor anod
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.
2020-06-17 17:08:52 -04:00
M. Anthony Aiello
a5f2821050 Refactor anod-build and anod-setenv
Also address Laura's request for a -v mode on anod-setenv.
Make anod-setenv's output more compliant, by using semicolons
2020-06-17 15:33:19 -04:00