Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Loads the direnv environment and validates required variables before running make targets such as tests, builds, and linting.
42% 92%+50 ptsof test cases passed
Passed 22 of 24 test cases with the skill, and 10 of 24 without it.
3 of 3 safety checks passed
Not used yet
Before running any make target (make test, make bins, make lint-go, etc.), the direnv environment must be loaded.
Without it, make will fail with errors about AKASH_DIRENV_SET or AKASH_ROOT not being set.
Allow and load direnv for the project root. This sets all required variables (AKASH_ROOT, AKASH_DIRENV_SET, GOTOOLCHAIN, GOPATH, GOWORK, cache paths) adds tool directories to PATH, and runs make cache to download build tools and wasmvm libraries:
direnv allow
Load environment into current shell:
eval "$(direnv export bash 2>&1 | grep -v '^direnv:')"
Validate:
[[ "$AKASH_DIRENV_SET" == "1" ]] && echo "direnv loaded" || echo "ERROR: direnv not loaded"
make, unzip, wget, curl, npm, jq, readlink, pv, lz4.make (v4+) must be on PATH: export PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH".Next to this one in the catalogue, plus more from the same author.