10 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
Joffrey Huguet
bfbec586ce Add security checks when downloading sources in anod
Remove the file if the downloading failed
Force to redownload if the stored checksum and effective checksum do not match
2020-07-09 12:56:53 +02: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
1f126ef792 Fix type-annotation related error (#46)
Missing from future caused runtime error on type annotation.
2020-06-24 09:08:44 -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
cb6317703e Eval-reminder banner should show proper command 2020-06-22 11:56:00 -04:00
M. Anthony Aiello
1023a8812b Clean up missing newline 2020-06-22 11:55:01 -04:00
M. Anthony Aiello
30e07a1950 Fix return result to integer
This was causing a spurious printout
2020-06-22 10:07:01 -04:00
M. Anthony Aiello
1e0743fe54 Make anod build return an error code
Workaround until a proper approach is in place.
2020-06-17 17:33:44 -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