-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·26 lines (22 loc) · 850 Bytes
/
install.sh
File metadata and controls
executable file
·26 lines (22 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env sh
echo ' $$ '
echo ' $$ | '
echo ' $$$$$$ $$ |$$ $$ $$$$$$ '
echo ' $$ __$$ $$ |$$ | $$ |$$ __$$ '
echo ' $$ / $$ |$$ |$$ | $$ |$$$$$$$$ | '
echo ' $$ | $$ |$$ |$$ | $$ |$$ ____| '
echo ' $$$$$$$ |$$ | $$$$$$ | $$$$$$$ '
echo ' ____$$ | __| ______/ \_______| '
echo ' $$ $$ | '
echo ' $$$$$$ | '
echo ' ______/ '
printf "\n\n"
# Install Rust
if ! command -v cargo --version &> /dev/null
then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | RUSTUP_INIT_SKIP_PATH_CHECK=true sh -s -- -y
NEW_CARGO=true
fi
# Build glue
cargo install --path .
printf "\nInstall completed. Restart your terminal window or open a new one to execute the glue command\n"