Skip to content

Commit

Permalink
Merge pull request #1002 from NordicSemiconductor/feat/split-nrfutil-…
Browse files Browse the repository at this point in the history
…sandboxes-m1-intel

Feat/split nrfutil sandboxes m1 intel
  • Loading branch information
kylebonnici authored Apr 23, 2024
2 parents f0d73d7 + 284394e commit 08e9c9f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion build/bundleApps.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const bundleNrfutilModule = (module, version) => {
preparingSandbox.get(module).add(version);

console.log(`Bundling nrfutil module ${module} version ${version}`);

const nrfutilSandboxFolder =
process.platform === 'darwin' && process.arch !== 'x64'
? path.join('nrfutil-sandboxes', process.arch)
: 'nrfutil-sandboxes';
execSync(
`${path.join(
'resources',
Expand All @@ -38,7 +43,7 @@ const bundleNrfutilModule = (module, version) => {
...process.env,
NRFUTIL_HOME: path.join(
'resources',
'nrfutil-sandboxes',
nrfutilSandboxFolder,
module,
version
),
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"devDependencies": {
"@electron/notarize": "^2.2.0",
"@nordicsemiconductor/pc-nrfconnect-shared": "^166.0.0",
"@nordicsemiconductor/pc-nrfconnect-shared": "^173.0.0",
"@playwright/test": "^1.16.3",
"@testing-library/user-event": "^14.4.3",
"@types/chmodr": "1.0.0",
Expand Down

0 comments on commit 08e9c9f

Please sign in to comment.