anki/scripts/docker/build-entrypoint

13 lines
271 B
Plaintext
Raw Normal View History

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