Add gitpod configuration

This commit is contained in:
Noah
2020-02-03 21:30:43 +00:00
parent 52c5eec4bb
commit 84f26ae121
2 changed files with 15 additions and 0 deletions

13
.gitpod.Dockerfile vendored Normal file
View File

@@ -0,0 +1,13 @@
FROM gitpod/workspace-full
USER gitpod
# Update Rust to the latest version
RUN rm -rf ~/.rustup && ~/.cargo/bin/rustup update stable
# Set up wasm-pack and wasm32-unknown-unknown for rustpython_wasm
RUN export PATH=$HOME/.cargo/bin:$PATH && \
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && \
rustup target add wasm32-unknown-unknown
USER root

2
.gitpod.yml Normal file
View File

@@ -0,0 +1,2 @@
image:
file: .gitpod.Dockerfile