mirror of
https://github.com/vladtrc/iw4L
synced 2026-10-25 18:05:19 -04:00
1b8c4df703
Dev shell for x86_64-linux, aarch64-linux and aarch64-darwin. The toolchain comes from rust-toolchain.toml with rust-src and rust-analyzer, and .envrc loads the make-style .env.
9 lines
257 B
Bash
9 lines
257 B
Bash
# .env is make syntax (unquoted values with spaces), so direnv's dotenv rejects it.
|
|
if [[ -f .env ]]; then
|
|
watch_file .env
|
|
while IFS='=' read -r key value; do
|
|
[[ $key =~ ^[A-Za-z_][A-Za-z0-9_]*$ ]] && export "$key=$value"
|
|
done < .env
|
|
fi
|
|
use flake
|