We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a52018 commit 1cdfe9fCopy full SHA for 1cdfe9f
install-osx.sh
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+
3
+pushd /tmp/ > /dev/null
4
5
+echo "Installing latest 'mob' release from GitHub"
6
+url=$(curl -s https://api.github.com/repos/remotemobprogramming/mob/releases/latest \
7
+| grep "browser_download_url.*mob_.*darwin_amd64\.tar\.gz" \
8
+| cut -d ":" -f 2,3 \
9
+| tr -d \")
10
+echo "$url"
11
+tarball="${url##*/}"
12
+curl -sSL $url > $tarball
13
14
+echo "Extracting $tarball"
15
+tar -xzf $tarball
16
17
+# echo "Installing 'mob' in '/usr/local/bin'"
18
+chmod +x mob
19
+mv mob /usr/local/bin/
20
21
+popd > /dev/null
22
23
+location="$(which mob)"
24
+echo "Mob binary location: $location"
25
26
+version="$(mob version)"
27
+echo "Mob binary version: $version"
0 commit comments