forked from fredmorcos/tvrank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
24 lines (22 loc) · 825 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# See documentation: https://www.gitpod.io/docs/config-gitpod-file
---
tasks:
- before: |
# Install mob tool.
curl -sL install.mob.sh | sudo sh
# GitPod's rustup wrapper seems not to work with current
# versions of rustup. Disable wrapper and unset CARGO_HOME
# while installing the current Rust stable toolchain
# and additional components.
mv ~/.cargo/bin/rustup ~/.cargo/bin/rustup.script
mv ~/.cargo/bin/rustup.main ~/.cargo/bin/rustup
CARGO_HOME= rustup toolchain install stable
CARGO_HOME= rustup component add rust-docs llvm-tools-preview
mv ~/.cargo/bin/rustup ~/.cargo/bin/rustup.main
mv ~/.cargo/bin/rustup.script ~/.cargo/bin/rustup
- init: |
# Build workspace.
cargo build
vscode:
extensions:
- matklad.rust-analyzer