-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM fedora:latest | ||
COPY . . | ||
RUN dnf update && chmod +x ./setup.sh && ./setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "Codespaces Rust DevEnv", | ||
"dockerFile": "Dockerfile", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"jdinhlife.gruvbox", | ||
"rust-lang.rust-analyzer", | ||
"vscode-icons-team.vscode-icons" | ||
], | ||
"settings": { | ||
"diffEditor.ignoreTrimWhitespace": true, | ||
"editor.cursorBlinking": "phase", | ||
"editor.cursorStyle": "block", | ||
"editor.fontFamily": "'Source Code Pro', 'Cascadia Code'", | ||
"editor.fontLigatures": true, | ||
"editor.formatOnSave": true, | ||
"editor.trimAutoWhitespace": true, | ||
"terminal.integrated.shell.linux": "/usr/bin/bash", | ||
"vsicons.dontShowNewVersionMessage": true, | ||
"workbench.colorTheme": "Gruvbox Dark Soft", | ||
"workbench.iconTheme": "vscode-icons" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Install Rustup | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
|
||
# Install wasm-pack | ||
cargo install wasm-pack | ||
|
||
# Add Rust WASM target | ||
rustup target add wasm32-unknown-unknown | ||
|
||
# Install and add Clyppy | ||
cargo install clippy | ||
rustup component add clippy |