aboutsummaryrefslogtreecommitdiff
path: root/make/console.pm
Commit message (Collapse)AuthorAgeFilesLines
* Improve the accessibility and robustness of prompt_bool.Gravatar Peter Powell2019-01-291-2/+6
| | | | | | | - 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.
* Add a nice API for command line interfaces to make::console.Gravatar Peter Powell2017-03-251-5/+50
|
* Fix print_format breaking when formatting empty strings.Gravatar Peter Powell2016-09-141-1/+1
|
* Allow print_error and print_warning to take multiple lines.Gravatar Peter Powell2016-09-141-6/+10
|
* Extract directory creation code to its own subroutine.Gravatar Peter Powell2016-03-221-6/+2
|
* Convert the build system to Perl 5.10.Gravatar Peter Powell2015-03-251-3/+4
| | | | Thanks to Kross for the heads up on "use feature".
* Create installation directories with make install not configure.Gravatar Peter Powell2015-03-061-3/+3
| | | | | This fixes system-wide installations requiring root in order to create directories.
* Add Perl module for console related code.Gravatar Peter Powell2014-12-071-0/+113
- 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.