Skip to content

Commit

Permalink
Move aftman to onCreateCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua committed Mar 24, 2024
1 parent fc27770 commit de596d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
},

// Use 'onCreateCommand' to run commands when the container is first created.
"onCreateCommand": "curl https://sh.rustup.rs -sSf | sh -s -- -y && sudo apt-get update && sudo apt install pkg-config libudev-dev -y",
"onCreateCommand": "curl https://sh.rustup.rs -sSf | sh -s -- -y && sudo apt-get update && sudo apt install pkg-config libssl-dev libudev-dev -y && . $HOME/.cargo/env && cargo install aftman && aftman self-install && aftman install --no-trust-check && export PATH='~/.aftman/bin:'$PATH",

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": ". $HOME/.cargo/env && cargo install aftman && aftman self-install && aftman install --no-trust-check && export PATH='~/.aftman/bin:'$PATH",
"postCreateCommand": "wally install",

// Configure tool-specific properties.
"customizations": {
Expand Down

0 comments on commit de596d9

Please sign in to comment.