Skip to content

Commit

Permalink
make rustup noninteractive for codespace setup, update docs (fixes #205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ading2210 committed Nov 21, 2024
1 parent 80755a0 commit 9b5b740
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Anura shows as more of a proof-of-concept with what's possible on the modern web
### Easy Install for GitHub Codespaces

- Run `bash codespace-basic-setup.sh`
- Run `source codespace-basic-setup.sh`

> [!NOTE]
>
Expand Down
6 changes: 4 additions & 2 deletions codespace-basic-setup.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

#fix the uuidgen command not found error
sudo apt update
sudo apt-get install uuid-runtime
sudo apt upgrade
sudo apt install -y uuid-runtime gcc-multilib

#install
git submodule update --init
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --target wasm32-unknown-unknown,i686-unknown-linux-gnu
source "$HOME/.cargo/env" # to import rustup in current shell
make all

0 comments on commit 9b5b740

Please sign in to comment.