Skip to content

Commit

Permalink
adding a nodejs.commandline - pointing nodejs to it
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Feb 25, 2012
1 parent c89457c commit 98a87aa
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 12 deletions.
17 changes: 17 additions & 0 deletions nodejs.commandline/nodejs.commandline.nuspec
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata>
<id>nodejs.commandline</id>
<title>Node JS (CommandLine)</title>
<version>0.6.11</version>
<authors>Joyent</authors>
<owners>Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
<description>Node JS - Evented I/O for v8 JavaScript. Node's goal is to provide an easy way to build scalable network programs.</description>
<projectUrl>http://nodejs.org</projectUrl>
<tags>nodejs node javascript</tags>
<licenseUrl>https://github.com/joyent/node/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://github.com/ferventcoder/nugetpackages/raw/master/nodejs/nodejs.png</iconUrl>
</metadata>
</package>
Binary file added nodejs.commandline/nodejs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions nodejs.commandline/tools/chocolateyInstall.ps1
@@ -0,0 +1,9 @@
try {
$nodePath = Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'node.exe'
Get-ChocolateyWebFile 'nodejs' "$nodePath" 'http://nodejs.org/dist/v0.6.11/node.exe'

Write-ChocolateySuccess 'nodejs'
} catch {
Write-ChocolateyFailure 'nodejs' "$($_.Exception.Message)"
throw
}
9 changes: 6 additions & 3 deletions nodejs/nodejs.nuspec
Expand Up @@ -3,15 +3,18 @@
<metadata>
<id>nodejs</id>
<title>Node JS</title>
<version>0.6.11</version>
<version>0.6.11.20120225</version>
<authors>Joyent</authors>
<owners>Rob Reynolds</owners>
<summary>Node JS - Evented I/O for v8 JavaScript.</summary>
<description>Node JS - Evented I/O for v8 JavaScript. Node's goal is to provide an easy way to build scalable network programs.</description>
<projectUrl>http://nodejs.org</projectUrl>
<tags>nodejs node javascript chocolatey</tags>
<tags>nodejs node javascript</tags>
<licenseUrl>https://github.com/joyent/node/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://github.com/ferventcoder/nugetpackages/raw/master/nodejs/nodejs.png</iconUrl>
</metadata>
<dependencies>
<dependency id="nodejs.commandline" />
</dependencies>
</metadata>
</package>
10 changes: 1 addition & 9 deletions nodejs/tools/chocolateyInstall.ps1
@@ -1,9 +1 @@
try {
$nodePath = Join-Path $(Split-Path -parent $MyInvocation.MyCommand.Definition) 'node.exe'
Get-ChocolateyWebFile 'nodejs' "$nodePath" 'http://nodejs.org/dist/v0.6.11/node.exe'

Write-ChocolateySuccess 'nodejs'
} catch {
Write-ChocolateyFailure 'nodejs' "$($_.Exception.Message)"
throw
}
#Install-VirtualPackage 'nodejs.commandline' 'nodejs.install'

0 comments on commit 98a87aa

Please sign in to comment.