@@ -81,28 +81,32 @@ def _emscripten_cache_impl(repository_ctx):
81
81
print ('stdout = ' + result .stdout )
82
82
print ('---------------------------------------' )
83
83
84
- dir_result = repository_ctx .execute (['dir' ], quiet = False , working_directory = str (nodejs_root ))
85
- print ('dir_result(nodejs_root).return_code = {}\n \n ' .format (dir_result .return_code ))
86
- print ('dir_result(nodejs_root).stderr = {}\n \n ' .format (dir_result .stderr ))
87
- print ('dir_result(nodejs_root).stdout = {}\n \n ' .format (dir_result .stdout ))
88
-
89
- acl_result = repository_ctx .execute (["Get-Acl" , "-Path" , "(Get-Location)" ], quiet = False , working_directory = str (nodejs_root ))
90
- print ('acl_result(nodejs_root).return_code = {}\n \n ' .format (acl_result .return_code ))
91
- print ('acl_result(nodejs_root).stderr = {}\n \n ' .format (acl_result .stderr ))
92
- print ('acl_result(nodejs_root).stdout = {}\n \n ' .format (acl_result .stdout ))
93
-
94
- print ('---------------------------------------' )
95
-
96
84
nodejs_bindir = nodejs_root .get_child ("bin" )
97
85
dir_result = repository_ctx .execute (['dir' ], quiet = False , working_directory = str (nodejs_bindir ))
98
86
print ('dir_result(nodejs_bindir).return_code = {}\n \n ' .format (dir_result .return_code ))
99
87
print ('dir_result(nodejs_bindir).stderr = {}\n \n ' .format (dir_result .stderr ))
100
88
print ('dir_result(nodejs_bindir).stdout = {}\n \n ' .format (dir_result .stdout ))
101
89
102
- acl_result = repository_ctx .execute (["Get-Acl" , "-Path" , "(Get-Location)" ], quiet = False , working_directory = str (nodejs_bindir ))
103
- print ('acl_result(nodejs_root).return_code = {}\n \n ' .format (acl_result .return_code ))
104
- print ('acl_result(nodejs_root).stderr = {}\n \n ' .format (acl_result .stderr ))
105
- print ('acl_result(nodejs_root).stdout = {}\n \n ' .format (acl_result .stdout ))
90
+ acl_result = repository_ctx .execute (["Get-Acl" , "-Path" , str (nodejs_bindir )], quiet = False )
91
+ print ('acl_result(nodejs_bindir).return_code = {}\n \n ' .format (acl_result .return_code ))
92
+ print ('acl_result(nodejs_bindir).stderr = {}\n \n ' .format (acl_result .stderr ))
93
+ print ('acl_result(nodejs_bindir).stdout = {}\n \n ' .format (acl_result .stdout ))
94
+
95
+ print ('---------------------------------------' )
96
+
97
+ acl_result = repository_ctx .execute (["Get-Acl" , "-Path" , str (nodejs_path )], quiet = False )
98
+ print ('acl_result(nodejs_path).return_code = {}\n \n ' .format (acl_result .return_code ))
99
+ print ('acl_result(nodejs_path).stderr = {}\n \n ' .format (acl_result .stderr ))
100
+ print ('acl_result(nodejs_path).stdout = {}\n \n ' .format (acl_result .stdout ))
101
+
102
+ print ('---------------------------------------' )
103
+
104
+ ### Run node version under windows
105
+ nodejs_result = repository_ctx .execute ([nodejs_path , "-v" ], quiet = False )
106
+ print ('nodejs_result.return_code = {}\n \n ' .format (nodejs_result .return_code ))
107
+ print ('nodejs_result.stderr = {}\n \n ' .format (nodejs_result .stderr ))
108
+ print ('nodejs_result.stdout = {}\n \n ' .format (nodejs_result .stdout ))
109
+
106
110
107
111
### TESTING
108
112
fail ("Embuilder exited with a non-zero return code" )
0 commit comments