mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
put the script file for reuse
This commit is contained in:
parent
e49f961bfb
commit
9af8e21ccf
@ -386,7 +386,7 @@ public class WasmRule extends TemporaryFolder {
|
|||||||
* Load a script resource, patch it and save it
|
* Load a script resource, patch it and save it
|
||||||
*
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* the resource name
|
* the template resource name
|
||||||
* @param placeholder
|
* @param placeholder
|
||||||
* A placeholder that should be replaced.
|
* A placeholder that should be replaced.
|
||||||
* @param value
|
* @param value
|
||||||
@ -639,6 +639,7 @@ public class WasmRule extends TemporaryFolder {
|
|||||||
scriptFile = createScript( "SpiderMonkeyWatTest.js", "{test}", script.name() );
|
scriptFile = createScript( "SpiderMonkeyWatTest.js", "{test}", script.name() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
scriptFiles.put( script, scriptFile );
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcessBuilder process = new ProcessBuilder( spiderMonkey.getCommand(), scriptFile.getAbsolutePath() );
|
ProcessBuilder process = new ProcessBuilder( spiderMonkey.getCommand(), scriptFile.getAbsolutePath() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user