5353
5454// Build the Emscripten mobules with ninja
5555console . log ( '\nRunning ninja...' )
56- const ninjaCall = spawnSync ( dockcross , [ 'ninja' , '-Cbuild' ] , {
56+ const ninjaCall = spawnSync ( dockcross , [ 'ninja' , '-j3' , '- Cbuild'] , {
5757 env : process . env ,
5858 stdio : 'inherit'
5959} )
6868 if ( err . code != 'EEXIST' ) throw err
6969}
7070try {
71- fs . mkdirSync ( path . join ( 'dist' , 'itkImageIOs ' ) )
71+ fs . mkdirSync ( path . join ( 'dist' , 'ImageIOs ' ) )
7272} catch ( err ) {
7373 if ( err . code != 'EEXIST' ) throw err
7474}
@@ -77,11 +77,11 @@ try {
7777} catch ( err ) {
7878 if ( err . code != 'EEXIST' ) throw err
7979}
80- imageIOFiles = glob . sync ( path . join ( 'build' , 'itkImageIOs ' , '*.js' ) )
80+ imageIOFiles = glob . sync ( path . join ( 'build' , 'ImageIOs ' , '*.js' ) )
8181const copyIOModules = function ( imageIOFile , callback ) {
8282 let io = path . basename ( imageIOFile )
8383 console . log ( 'Copying ' + io + ' ...' )
84- let output = path . join ( 'dist' , 'itkImageIOs ' , io )
84+ let output = path . join ( 'dist' , 'ImageIOs ' , io )
8585
8686 fs . copySync ( imageIOFile , output )
8787
0 commit comments