@@ -81,28 +81,32 @@ def _emscripten_cache_impl(repository_ctx):
8181 print ('stdout = ' + result .stdout )
8282 print ('---------------------------------------' )
8383
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-
9684 nodejs_bindir = nodejs_root .get_child ("bin" )
9785 dir_result = repository_ctx .execute (['dir' ], quiet = False , working_directory = str (nodejs_bindir ))
9886 print ('dir_result(nodejs_bindir).return_code = {}\n \n ' .format (dir_result .return_code ))
9987 print ('dir_result(nodejs_bindir).stderr = {}\n \n ' .format (dir_result .stderr ))
10088 print ('dir_result(nodejs_bindir).stdout = {}\n \n ' .format (dir_result .stdout ))
10189
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+
106110
107111 ### TESTING
108112 fail ("Embuilder exited with a non-zero return code" )
0 commit comments