-
-
Save tj/3998613 to your computer and use it in GitHub Desktop.
Install anything from Github with a `make install` target
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
#!/usr/bin/env bash | |
repo=$1 | |
rm -fr /tmp/gpm \ | |
&& mkdir /tmp/gpm \ | |
&& cd /tmp/gpm \ | |
&& curl -#L https://github.com/$repo/tarball/master \ | |
| tar zx --strip 1 \ | |
&& make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ex:
gpm visionmedia/watch
gpm visionmedia/mon
etc