-
-
Save tj/3998613 to your computer and use it in GitHub Desktop.
Install anything from Github with a `make install` target
This file contains hidden or 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ex:
gpm visionmedia/watchgpm visionmedia/monetc