diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..97ee184 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,12 @@ +{ + "image": "rainprotocol/devcontainer:foundry", + "customizations": { + "vscode": { + "extensions": [ + "JuanBlanco.solidity", + "ms-azuretools.vscode-docker", + "bungcip.better-toml" + ] + } + } +} diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..a93d020 --- /dev/null +++ b/.envrc @@ -0,0 +1,11 @@ +# shellcheck shell=bash +if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then + URL=https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc + HASH=sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM= + source_url "$URL" "$HASH" +fi + +watch_file flake.lock +watch_file flake.nix + +use flake . --verbose --show-trace \ No newline at end of file diff --git a/REUSE.toml b/REUSE.toml index 48eb348..9bdbff8 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -4,6 +4,8 @@ version = 1 path = [ ".cargo/**/", ".coderabbit.yaml", + ".devcontainer.json", + ".envrc", ".github/workflows/**/", ".gitignore", ".prettierignore",