Skip to content

Commit

Permalink
fix(*): unblock freebsd openbsd netbsd arm platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed May 6, 2020
1 parent 111b4cd commit c55e8ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/packages/engine-core/src/NodeEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ const knownPlatforms: Platform[] = [
'musl-openssl-1.0.x',
'musl-openssl-1.1.x',
'windows',
'freebsd',
'openbsd',
'netbsd',
'arm',
]

export type Deferred = {
Expand Down
5 changes: 5 additions & 0 deletions src/packages/get-platform/src/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type Platform =
| 'freebsd'
| 'openbsd'
| 'netbsd'
| 'arm'

export const platforms = [
'darwin',
Expand All @@ -21,6 +22,10 @@ export const platforms = [
'musl-openssl-1.0.x',
'musl-openssl-1.1.x',
'windows',
'freebsd',
'openbsd',
'netbsd',
'arm',
]

export function mayBeCompatible(
Expand Down
4 changes: 4 additions & 0 deletions src/packages/sdk/src/getGenerators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ export const knownBinaryTargets: Platform[] = [
'musl-openssl-1.0.x',
'musl-openssl-1.1.x',
'windows',
'freebsd',
'openbsd',
'netbsd',
'arm',
]

const oldToNewBinaryTargetsMapping = {
Expand Down

0 comments on commit c55e8ab

Please sign in to comment.