mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +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
|
||||
*
|
||||
* @param name
|
||||
* the resource name
|
||||
* the template resource name
|
||||
* @param placeholder
|
||||
* A placeholder that should be replaced.
|
||||
* @param value
|
||||
@ -639,6 +639,7 @@ public class WasmRule extends TemporaryFolder {
|
||||
scriptFile = createScript( "SpiderMonkeyWatTest.js", "{test}", script.name() );
|
||||
}
|
||||
}
|
||||
scriptFiles.put( script, scriptFile );
|
||||
}
|
||||
|
||||
ProcessBuilder process = new ProcessBuilder( spiderMonkey.getCommand(), scriptFile.getAbsolutePath() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user