-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from berendsliedrecht/release-under-alpha-and…
…-fix-windows release dev under alpha and fix windows install
- Loading branch information
Showing
8 changed files
with
34 additions
and
47 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const { execSync } = require('node:child_process') | ||
const { arch, platform: osPlatform } = require('os') | ||
|
||
const archTable = { | ||
x64: 'x86_64', | ||
arm64: 'aarch64', | ||
} | ||
|
||
const platform = osPlatform() | ||
const targetPlatform = platform === 'win32' ? 'windows' : platform | ||
const targetArchitecture = platform == 'darwin' ? 'universal' : archTable[arch] | ||
|
||
const command = `node-pre-gyp install --target_arch=${targetArchitecture} --target_platform=${targetPlatform}` | ||
|
||
execSync(command) |
13 changes: 0 additions & 13 deletions
13
wrappers/javascript/aries-askar-nodejs/scripts/platform.js
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "0.2.0-dev.1", | ||
"version": "0.2.0-dev.2", | ||
"npmClient": "yarn", | ||
"command": { | ||
"version": { | ||
|