Top Level Namespace

Included Modules

Extended Modules

Defined in:

Constant Summary

DOC = "hace makes things, like make.\n\nUsage:\n hace [options] [<task>...] [-- <args>...]\n hace --convert [options]\n hace --completion=<shell>\n hace --help\n\nOptions:\n -f <file>, --file=<file> Read the file named as a Hacefile (default: Hacefile.yml,\n falling back to a Makefile when no Hacefile exists)\n -n, --dry-run Don't actually run any commands\n -q, --quiet Don't log anything\n -v <level>, --verbosity=<level> Control the logging verbosity, 0 to 5\n (default: 3, or HACE_DEFAULT_VERBOSITY)\n -B, --always-make Unconditionally run all tasks\n -k, --keep-going Continue as much as possible after an error\n --parallel Run tasks in parallel when possible\n --question Don't run anything, exit 0 if all tasks are up to date, 1 otherwise\n --list List available tasks\n --auto Run in auto mode, watching for file changes\n --convert Convert the Makefile given with -f (default: Makefile,\n falling back to GNUmakefile/makefile/Makefile) to\n Hacefile YAML and print it to stdout\n --completion=<shell> Generate shell completion script (bash, fish, zsh)\n --version Display version information\n -h, --help Show this help message"

Method Summary

Class methods inherited from module Hace

env_namespace : Hash(String, Value) env_namespace, expand_env_in_value(value : Hace::Value) : Hace::Value expand_env_in_value, expand_env_vars(str : String) : String expand_env_vars, expand_glob(str : String) : Array(String) expand_glob, expand_string(str : String, variables = Hace::VARIABLES) : String expand_string, from_yaml_any(any : YAML::Any) : Hace::Value from_yaml_any, inject_cli_args(cli_args : Array(String)) inject_cli_args, load_dotenv(dotenv_file = nil) load_dotenv, recipe_stamp_path(task_name : String) : String recipe_stamp_path, reset_state reset_state, stamp_recipe(task_name : String, signature : String) : String stamp_recipe, to_crinja_value(value : Hace::Value) : Crinja::Value to_crinja_value, to_crinja_variables(hash : Hash(String, Value)) : Crinja::Variables to_crinja_variables, warn_braceless_env_ref(str : String) warn_braceless_env_ref

Method Detail

def requested_task_names(args : Hash(String, DocoptValues)) : Array(String) #

[View source]