Skip to content

Commit e177c6f

Browse files
jbergstroemrvagg
authored andcommitted
add support for smartos-x86, smartos-x64
`sunos` will be called `smartos` from v7 and forward but older releases (LTS, 0.x, ..) will still use `sunos`.
1 parent 6b54ae9 commit e177c6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

transform-filename.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const assert = require('assert')
1111
, 'linux-x64' : 'linux-x64'
1212
, 'linux-x86' : 'linux-x86'
1313
, 'linux-ppc64le' : 'linux-ppc64le'
14+
, 'smartos-x64' : 'smartos-x64'
15+
, 'smartos-x86' : 'smartos-x86'
1416
, 'sunos-x64' : 'sunos-x64'
1517
, 'sunos-x86' : 'sunos-x86'
1618
, 'x64.msi' : 'win-x64-msi'
@@ -115,6 +117,8 @@ if (module === require.main) {
115117
, { file: 'node-v0.11.9-darwin-x86.tar.gz', type: 'osx-x86-tar' }
116118
, { file: 'node-v0.11.9-linux-x64.tar.gz', type: 'linux-x64' }
117119
, { file: 'node-v0.11.9-linux-x86.tar.gz', type: 'linux-x86' }
120+
, { file: 'node-v7.0.0-smartos-x64.tar.gz', type: 'smartos-x64' }
121+
, { file: 'node-v7.0.0-smartos-x86.tar.gz', type: 'smartos-x86' }
118122
, { file: 'node-v0.11.9-sunos-x64.tar.gz', type: 'sunos-x64' }
119123
, { file: 'node-v0.11.9-sunos-x86.tar.gz', type: 'sunos-x86' }
120124
, { file: 'node-v6.7.0-aix-ppc64.tar.gz', type: 'aix-ppc64'}

0 commit comments

Comments
 (0)