fix(bazel): use param file for compile (#1373)
* fixes issues on windows when dealing with many dependencies causing a 'command line too long' error
This commit is contained in:
@@ -26,9 +26,10 @@ bazel build //hello-world:hello-world-wasm-simd
|
||||
|
||||
cd test_external
|
||||
bazel build //:hello-world-wasm
|
||||
bazel build //long_command_line:long_command_line_wasm
|
||||
bazel build //:hello-embind-wasm --compilation_mode dbg # debug
|
||||
|
||||
# Test use of the closure compiler
|
||||
bazel build //:hello-embind-wasm --compilation_mode opt # release
|
||||
# This function should not be minified if the externs file is loaded correctly.
|
||||
grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js
|
||||
grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js
|
||||
|
||||
Reference in New Issue
Block a user