Skip to content

Commit

Permalink
Merge pull request #18 from ExtropyIO/17-request-to-add-devcontainer
Browse files Browse the repository at this point in the history
add devcontainer
  • Loading branch information
extropyCoder authored Mar 2, 2024
2 parents 2855df7 + a9ba76e commit 5baf9cf
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
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"
]
}
}
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
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

0 comments on commit 5baf9cf

Please sign in to comment.