- Replace all instances of `TASK_CONFIG_DIR` with `TASK_DOTENV_DIR` across environment-related scripts - Update `init-config-dir` function name to `init-dotenv-dir` for consistency - Adjust documentation and help table entries to reflect the renamed variable and function - Maintain existing functionality and code style throughout affected scripts
9 lines
194 B
Bash
Executable File
9 lines
194 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
init-dotenv-dir() {
|
|
TASK_DOTENV_DIR=${TASK_DOTENV_DIR:="$HOME/.config/taskfile.build"}
|
|
|
|
echo "Ensure $TASK_DOTENV_DIR exists."
|
|
mkdir -p "$TASK_DOTENV_DIR"
|
|
}
|