Skip to content

Commit db92a5c

Browse files
Add gitpod support (fixes rust-lang#604) (rust-lang#616)
1 parent 98623de commit db92a5c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.gitpod.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM gitpod/workspace-rust:2023-11-16-11-19-36
2+
3+
USER gitpod
4+
5+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
6+
7+
RUN rustup default stable

.gitpod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
tasks:
5+
- init: cargo build
6+
7+
vscode:
8+
extensions:
9+
- rust-lang.rust-analyzer

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<h1><a href="https://github.com/TheAlgorithms/">The Algorithms</a> - Rust</h1>
66

77
<!-- Labels: -->
8+
<a href="https://gitpod.io/#https://github.com/TheAlgorithms/Rust">
9+
<img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square" height="20" alt="Gitpod Ready-to-Code">
10+
</a>
811
<a href="https://github.com/TheAlgorithms/Rust/actions/workflows/build.yml">
912
<img src="https://github.com/TheAlgorithms/Rust/actions/workflows/build.yml/badge.svg" height="20" alt="Build workflow">
1013
</a>

0 commit comments

Comments
 (0)