pinokiod 3.3.45 → 3.3.47

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.
Files changed (2) hide show
  1. package/kernel/bin/vs.js +8 -0
  2. package/package.json +1 -1
package/kernel/bin/vs.js CHANGED
@@ -45,14 +45,20 @@ class VS {
45
45
  if (e1) {
46
46
  console.log("exists", ROOT_PATH)
47
47
  let vcpaths = await glob('**/VC/Tools/MSVC', { absolute: true, cwd: ROOT_PATH })
48
+ console.log({ vcpaths })
48
49
  if (vcpaths && vcpaths > 0) {
49
50
  for(let vcpath of vcpaths) {
51
+ console.log("testing vcpath", vcpath)
50
52
  if (/.*2019.*/.test(vcpath)) {
53
+ console.log("matched", vcpath)
51
54
  MSVC_PATH.push(vcpath)
55
+ } else {
56
+ console.log("not matched", vcpath)
52
57
  }
53
58
  }
54
59
  }
55
60
  let buildpaths = await glob('**/VC/Auxiliary/Build', { absolute: true, cwd: ROOT_PATH })
61
+ console.log({ buildpaths })
56
62
  if (buildpaths && buildpaths.length > 0) {
57
63
  for(let buildpath of buildpaths) {
58
64
  if (/.*2019.*/.test(buildpath)) {
@@ -62,6 +68,7 @@ class VS {
62
68
  }
63
69
 
64
70
  let cmakepaths = await glob('**/Microsoft/CMake/CMake/bin', { absolute: true, cwd: ROOT_PATH })
71
+ console.log({ cmakepaths })
65
72
  if (cmakepaths && cmakepaths.length > 0) {
66
73
  for(let cmakepath of cmakepaths) {
67
74
  if (/.*2019.*/.test(cmakepath)) {
@@ -71,6 +78,7 @@ class VS {
71
78
  }
72
79
  //CL_PATH = await glob('**/Hostx64/x64/cl.exe', { absolute: true, cwd: ROOT_PATH })
73
80
  let clpaths = await glob('**/Hostx64/x64', { absolute: true, cwd: ROOT_PATH })
81
+ console.log({ clpaths })
74
82
  if (clpaths && clpaths.length > 0) {
75
83
  for(let clpath of clpaths) {
76
84
  if (/.*2019.*/.test(clpath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.3.45",
3
+ "version": "3.3.47",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {