mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00

Will override a user.bazelrc setting, except if it's specified for a specific OS (eg build:windows)
12 lines
208 B
Bash
Executable file
12 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
|