aboutsummaryrefslogtreecommitdiff
path: root/make/console.pm
Commit message (Expand)AuthorAgeFilesLines
* Improve the accessibility and robustness of prompt_bool.•••- 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. Gravatar Peter Powell2019-01-291-2/+6
* 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.•••Thanks to Kross for the heads up on "use feature". Gravatar Peter Powell2015-03-251-3/+4
* Create installation directories with make install not configure.•••This fixes system-wide installations requiring root in order to create directories. Gravatar Peter Powell2015-03-061-3/+3
* Add Perl module for console related code.•••- 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. Gravatar Peter Powell2014-12-071-0/+113