matrix-ops-bot/.envrc

8 lines
254 B
Bash

#!/usr/bin/env bash
if [[ $(type -t use_flake) != function ]]; then
echo "ERROR: direnv's use_flake function missing. update direnv to v2.30.0 or later." && exit 1
fi
#export BOT_ENV_FILE=./dev.env
export BOT_CONFIG_FILE=config.json
use flake
dotenv