diff --git a/.gitignore b/.gitignore index 1de5659..b47a211 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target \ No newline at end of file +target +.envrc diff --git a/README.md b/README.md index bb1ff88..0600a78 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,16 @@ pub fn xtype(&self) -> BarType { } ``` +## Development + +### lorri for Nix + +If using Nix, dbc-codegen is integrated with [lorri](https://github.com/nix-community/lorri) for easy project dependency management. To enable, create a symlink in the top-level working directory: + +```sh +ln -s envrc.lorri .envrc +``` + ## License Licensed under either of diff --git a/.envrc b/envrc-lorri similarity index 100% rename from .envrc rename to envrc-lorri