2018-07-25 06:33:04 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-10-08 21:14:31 +08:00
|
|
|
curl -LSs --output /tmp/tuistenv.zip https://storage.googleapis.com/tuist-releases/latest/tuistenv.zip
|
2018-09-20 17:15:24 +08:00
|
|
|
|
|
|
|
echo "Installing Tuist"
|
|
|
|
unzip -o /tmp/tuistenv.zip -d /tmp/tuistenv > /dev/null
|
2018-09-20 00:59:44 +08:00
|
|
|
mv /tmp/tuistenv/tuistenv /usr/local/bin/tuist
|
|
|
|
|
|
|
|
chmod +x /usr/local/bin/tuist
|
|
|
|
|
|
|
|
rm -rf /tmp/tuistenv
|
2018-09-20 17:15:24 +08:00
|
|
|
rm /tmp/tuistenv.zip
|
|
|
|
|
2019-10-08 21:14:31 +08:00
|
|
|
echo "Tuist installed. Try running 'tuist'"
|
2019-12-17 17:07:49 +08:00
|
|
|
echo "Check out the documentation at https://tuist.io/docs"
|