-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from ExtropyIO/17-request-to-add-devcontainer
add devcontainer
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "Gas Optimizations", | ||
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye", | ||
// FIXME: Uncomment feature if foundry adds this https://github.com/foundry-rs/foundry/issues/7290 | ||
// "features": { | ||
// "ghcr.io/foundry-rs/foundry": {} | ||
// } | ||
// "postCreateCommand": "forge test --gas-report", | ||
|
||
// TODO: Remove commands if this feature is added https://github.com/foundry-rs/foundry/issues/7290 | ||
"postCreateCommand": "curl -L https://foundry.paradigm.xyz | bash", | ||
"postStartCommand": "/home/vscode/.foundry/bin/foundryup", | ||
"postAttachCommand": "/home/vscode/.foundry/bin/forge test --gas-report", | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"JuanBlanco.solidity", | ||
"hosho.solidity-debugger", | ||
"wayou.vscode-todo-highlight" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |