summaryrefslogtreecommitdiff
path: root/make/console.pm
AgeCommit message (Collapse)Author
2019-01-29Improve the accessibility and robustness of prompt_bool.Peter Powell
- Use "yes" and "no" instead of "y" and "n". - Validate the true and false responses properly. - Keep prompting the user for a response until they give one which is valid.
2017-03-25Add a nice API for command line interfaces to make::console.Peter Powell
2016-09-14Fix print_format breaking when formatting empty strings.Peter Powell
2016-09-14Allow print_error and print_warning to take multiple lines.Peter Powell
2016-03-22Extract directory creation code to its own subroutine.Peter Powell
2015-03-25Convert the build system to Perl 5.10.Peter Powell
Thanks to Kross for the heads up on "use feature".
2015-03-06Create installation directories with make install not configure.Peter Powell
This fixes system-wide installations requiring root in order to create directories.
2014-12-07Add Perl module for console related code.Peter Powell
- Move prompt_* methods to this module. - Add methods for printing errors and warnings easily. - Add colour code helpers and switch all code to use them.