feat(releases): add arm7l architecture as buildable releases

This commit is contained in:
calebboyd
2017-11-27 12:56:41 -06:00
committed by Caleb Boyd
parent f9bc43a03b
commit ce9cdcba46
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -59,6 +59,7 @@ export async function getUnBuiltReleases(options?: any) {
platforms.forEach(platform => {
architectures.forEach(arch => {
if (arch === 'x86' && platform === 'mac') return
if (arch === 'arm71' && platform !== 'linux') return
versions.push(getTarget({ platform, arch, version }))
})
})
+5 -2
View File
@@ -1,8 +1,8 @@
export type NodePlatform = 'windows' | 'mac' | 'alpine' | 'linux'
export type NodeArch = 'x86' | 'x64'
export type NodeArch = 'x86' | 'x64' | 'arm71'
const platforms: NodePlatform[] = ['windows', 'mac', 'alpine', 'linux'],
architectures: NodeArch[] = ['x86', 'x64']
architectures: NodeArch[] = ['x86', 'x64', 'arm71']
export { platforms, architectures }
@@ -28,6 +28,9 @@ const prettyPlatform: { [key: string]: NodePlatform } = {
//TODO arm
const prettyArch: { [key: string]: NodeArch } = {
x86: 'x86',
arm: 'arm71',
arm7: 'arm71',
arm71: 'arm71',
amd64: 'x64',
ia32: 'x86',
x32: 'x86',
View File