Rebuild test modules when configuration starts with R

This commit is contained in:
Kevin Sawicki 2017-06-06 08:41:40 -07:00
parent 53b6ee0e3f
commit 5fa9cd646f

View file

@ -41,7 +41,7 @@ def main():
shutil.copy2(atom_lib, iojs_lib) shutil.copy2(atom_lib, iojs_lib)
# Native modules can only be compiled against release builds on Windows # Native modules can only be compiled against release builds on Windows
if config == 'R' or PLATFORM != 'win32': if config[0] == 'R' or PLATFORM != 'win32':
update_electron_modules(os.path.dirname(spec_modules), get_target_arch(), update_electron_modules(os.path.dirname(spec_modules), get_target_arch(),
node_dir) node_dir)
else: else: