Browse Source

Install cargo-insta in dev containers (#909)

Since cargo-insta is a dependency to manage tests, the dev environment
is incomplete if it is not installed.
pull/907/head
Spenser Black 3 years ago committed by GitHub
parent
commit
b4fbac0564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .devcontainer/devcontainer.json
  2. 2
      .gitpod.yml

2
.devcontainer/devcontainer.json

@ -4,7 +4,7 @@
"dockerfile": "Dockerfile", "dockerfile": "Dockerfile",
"args": { "VARIANT": "buster" } "args": { "VARIANT": "buster" }
}, },
"postCreateCommand": "git config --global --add safe.directory $PWD", "postCreateCommand": "git config --global --add safe.directory $PWD && cargo install cargo-insta",
"extensions": ["EditorConfig.EditorConfig"], "extensions": ["EditorConfig.EditorConfig"],
"remoteUser": "vscode" "remoteUser": "vscode"
} }

2
.gitpod.yml

@ -5,6 +5,8 @@ vscode:
- 'rust-lang.rust-analyzer' - 'rust-lang.rust-analyzer'
- 'tamasfe.even-better-toml' - 'tamasfe.even-better-toml'
tasks: tasks:
- name: Install cargo-insta
init: cargo install cargo-insta
- name: Build Onefetch - name: Build Onefetch
before: sudo apt install -y cmake before: sudo apt install -y cmake
init: cargo build init: cargo build

Loading…
Cancel
Save