Skip to content

Commit 8fc277c

Browse files
committed
script to build pet
1 parent ad4dbb1 commit 8fc277c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

extensions/positron-python/package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1972,5 +1972,10 @@
19721972
"webpack-require-from": "^1.8.6",
19731973
"worker-loader": "^3.0.8",
19741974
"yargs": "^15.3.1"
1975-
}
1975+
},
1976+
"positron": {
1977+
"externalDependencies": {
1978+
"pet": "v2024.16.0"
1979+
}
1980+
}
19761981
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { exec } from 'child_process';
2+
3+
exec('nox --session native_build', (error, stdout, stderr) => {
4+
if (error) {
5+
console.error(`Error: ${error.message}`);
6+
return;
7+
}
8+
if (stderr) {
9+
console.error(`Stderr: ${stderr}`);
10+
return;
11+
}
12+
console.log(`Stdout: ${stdout}`);
13+
});

0 commit comments

Comments
 (0)