@pm-spl/lld-win32-x64 0.1.0-a2 → 0.1.0-a4

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.
package/bin/lld ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ const lib = require("../lib.js");
3
+
4
+ const a = process.argv.slice(2);
5
+ //console.log(a);
6
+
7
+ lib.run_bin(a);
package/lib.js ADDED
@@ -0,0 +1,14 @@
1
+ // lld-win32-x64/lib.js
2
+ const path = require("path");
3
+
4
+ const d = require("@pm-spl/llvm-dll-win32-x64");
5
+
6
+ /// run lld.exe
7
+ function run_bin(a) {
8
+ const b = path.join(__dirname, "lib/lld.exe");
9
+ d.run_p(b, a);
10
+ }
11
+
12
+ module.exports = {
13
+ run_bin,
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pm-spl/lld-win32-x64",
3
- "version": "0.1.0-a2",
3
+ "version": "0.1.0-a4",
4
4
  "description": "Compiled LLVM binary (lld) for win32-x64",
5
5
  "keywords": [
6
6
  "llvm",
@@ -9,15 +9,18 @@
9
9
  "os": ["win32"],
10
10
  "cpu": ["x64"],
11
11
  "dependencies": {
12
- "@pm-spl/llvm-dll-win32-x64": "0.1.0-a1"
12
+ "@pm-spl/llvm-dll-win32-x64": "0.1.0-a2"
13
13
  },
14
14
 
15
15
  "files": [
16
- "bin"
16
+ "bin",
17
+ "lib",
18
+ "lib.js"
17
19
  ],
18
20
  "directories": {
19
21
  "bin": "bin"
20
22
  },
23
+ "main": "lib.js",
21
24
 
22
25
  "repository": {
23
26
  "type": "git",
File without changes