1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Moved is_function and runner.run to inc/

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2016-11-11 20:09:30 +01:00
parent 135eabc57c
commit 8267bc2e12
4 changed files with 32 additions and 30 deletions

View file

@ -54,3 +54,8 @@ function nux.include {
local incfile="$1.inc.sh"
source "$NUX_INC_DIR/$incfile"
}
function nux.check.function {
declare -f "$1" &>/dev/null && return 0
return 1
}