Last active
November 6, 2015 08:25
-
-
Save wilmoore/f4e45f66e2c1f3a30ca6 to your computer and use it in GitHub Desktop.
Installs pre-compiled NodeJS binaries while avoiding sudo or chown
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
class NodejsInstall < Formula | |
desc "Installs pre-compiled NodeJS binaries while avoiding sudo or chown" | |
homepage "https://github.com/wilmoore/nodejs-install" | |
url "https://github.com/wilmoore/nodejs-install/archive/1.0.0.tar.gz" | |
sha256 "5ce90a3398884d55a891e0e1a889ee46a8aa41e48cd700b4a9b34c6c74de78ef" | |
head "https://github.com/wilmoore/nodejs-install.git" | |
def install | |
prefix.install "bin" | |
end | |
test do | |
system bin/"nodejs-install", "--version" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment