From e171feb55718bcf714f042bebae3f41e6bf14ec1 Mon Sep 17 00:00:00 2001 From: baku-ccron Date: Mon, 7 Sep 2026 11:29:48 +0000 Subject: [PATCH] Carry .envrc and .devcontainer.json over from rainlang The two dev-environment files the seed left behind; REUSE annotations follow. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01QyCCzi9WZPhuXcU1hwr2bq --- .devcontainer.json | 12 ++++++++++++ .envrc | 11 +++++++++++ REUSE.toml | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 .devcontainer.json create mode 100644 .envrc 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",