anki/scripts/docker/build-entrypoint
2021-10-28 18:46:45 +10:00

13 lines
271 B
Bash

#!/bin/bash
set -e
rm -rf bazel-dist
bazel build -c opt dist --symlink_prefix=bazel-docker/links/ \
--experimental_no_product_name_out_symlink
tar xvf bazel-docker/links/bin/dist.tar
if [ "$PACKAGE" != "" ]; then
(cd qt/package && ./build.sh)
fi
bazel shutdown