mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-10-28 15:15:34 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			311 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			311 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| #!/usr/bin/env node
 | |
| 
 | |
| const { spawn, execSync } = require('child_process');
 | |
| const enginePaths = execSync('ls -d $PWD/addons/*').toString().split('\n').filter((p) => !!p);
 | |
| enginePaths.forEach(enginePath => {
 | |
|   spawn('yarn', ['install'], {
 | |
|     env: process.env,
 | |
|     cwd: enginePath,
 | |
|     stdio: 'inherit'
 | |
|   });
 | |
| });
 |