mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
Added fixmes & minor updates.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
b72149b69c
commit
6dafaf5b9d
5 changed files with 63 additions and 29 deletions
|
|
@ -82,6 +82,7 @@ nux.dsl.exec() {
|
|||
local language="$1";
|
||||
local file="$2";
|
||||
local cached="${3:-$file${NUDSL_CACHE_SUFFIX}}";
|
||||
#FIXME: Add no-cache
|
||||
if nux.dsl.plan "$language" "$file" "$cached"; then
|
||||
source "$cached";
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ nux.use nuxr/repl
|
|||
nux.log debug "Running task: $TASK";
|
||||
task.$TASK "$@" # Runs task
|
||||
else
|
||||
echo "$NUX_SCRIPTNAME: Unrecognized task ''$TASK' not available."
|
||||
echo "$NUX_SCRIPTNAME: Unrecognized task '$TASK' not available."
|
||||
echo "Try '$NUX_SCRIPTNAME help' for more information."
|
||||
return -1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue