This website requires JavaScript.
Explore
Help
Sign In
tezlm
/
grapevine-fork
Watch
1
Star
0
Fork
You've already forked grapevine-fork
0
forked from
mirror/grapevine
Code
Pull requests
Activity
823515b475
grapevine-fork
/
.envrc
8 lines
95 B
Text
Raw
Normal View
History
Unescape
Escape
add shebang to .envrc All this really does is make syntax highlighting and shellcheck work by default in more editors.
2023-12-24 06:02:24 +00:00
#!/usr/bin/env bash
load .env file before initializing flake This allows specifying DIRENV_DEVSHELL in .env
2024-05-30 07:49:56 +00:00
dotenv_if_exists
use all-features devshell for clippy/all in CI Without this, we're building a static rocksdb inside the rust-rocksdb build script every time. As far as I know this doesn't change clippy's behavior, but it does take a *long* time.
2024-05-30 07:45:22 +00:00
use flake ".#${DIRENV_DEVSHELL:-default}"
add script to build and push to binary cache This is even useful for local development, as you can pre-populate the binary cache before running CI (assuming you have the token). Also, it being in a script makes it easier to test. We've added attic as a flake input even though the flake itself doesn't use it so that we can use `--inputs-from .` in Nix commands to reference a locked version of attic. This helps with reproducibility and caching, and to makes it easy to update attic because it's part of the normal flake lifecycle.
2024-01-25 19:34:46 +00:00
PATH_add bin
Copy permalink