anki/scripts/build
Damien Elmes d01391b40d disable worker when building wheels
Will override a user.bazelrc setting, except if it's specified
for a specific OS (eg build:windows)
2020-12-12 10:27:18 +10:00

13 lines
208 B
Bash
Executable File

#!/bin/bash
set -e
test -e WORKSPACE || (
echo "Run from project root"
exit 1
)
rm -rf bazel-dist
bazel build -c opt --@io_bazel_rules_rust//worker:use_worker=False dist
tar xvf bazel-bin/dist.tar