@grame/faustwasm 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/scripts/faust2wasm.js +0 -4
- package/src/faust2wasmFiles.js +0 -4
package/README.md
CHANGED
|
@@ -78,7 +78,7 @@ will create a set of files: `index.js`, `dsp-module.wasm`, `dsp-meta.json`, `ind
|
|
|
78
78
|
The CLI runs the Faust compiler inside a WebAssembly in-memory filesystem, so it cannot read your host filesystem directly. To make local `import("something.lib")` work:
|
|
79
79
|
|
|
80
80
|
- The directory that contains the input `.dsp` is automatically copied into the in-memory FS and added to the compiler include path.
|
|
81
|
-
- Any `-I <dir>`
|
|
81
|
+
- Any `-I <dir>` you pass is mirrored into the in-memory FS and added to the include path.
|
|
82
82
|
- Only `.dsp` and `.lib` files are mirrored.
|
|
83
83
|
|
|
84
84
|
This means you can run the CLI from any working directory as long as your local includes live next to the DSP or are listed with `-I`.
|
package/package.json
CHANGED
package/scripts/faust2wasm.js
CHANGED
|
@@ -35,10 +35,6 @@ for (let i = 0; i < argv.length; i += 1) {
|
|
|
35
35
|
i += 1;
|
|
36
36
|
continue;
|
|
37
37
|
}
|
|
38
|
-
if (arg.startsWith("-I") && arg.length > 2) {
|
|
39
|
-
argvFaust.push(arg);
|
|
40
|
-
continue;
|
|
41
|
-
}
|
|
42
38
|
if (positionals.length < 2 && !arg.startsWith("-")) {
|
|
43
39
|
positionals.push(arg);
|
|
44
40
|
continue;
|
package/src/faust2wasmFiles.js
CHANGED