mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
add --force-delete to ./run
Excluded files in folders were preventing stale folders from being removed when deps were updated, leading to warnings on run.
This commit is contained in:
parent
d1c6efc4a9
commit
aa816177d0
1 changed files with 1 additions and 1 deletions
2
run
2
run
|
@ -11,7 +11,7 @@ run_mac() {
|
||||||
# so we need to copy the files into a working folder before running on a Mac.
|
# so we need to copy the files into a working folder before running on a Mac.
|
||||||
workspace=$(dirname $0)
|
workspace=$(dirname $0)
|
||||||
bazel build $BUILDARGS //qt:runanki && \
|
bazel build $BUILDARGS //qt:runanki && \
|
||||||
rsync -aiL --exclude=anki/external --exclude=__pycache__ --delete \
|
rsync -aiL --exclude=anki/external --exclude=__pycache__ --delete --force-delete \
|
||||||
$workspace/bazel-bin/qt/runanki* $workspace/bazel-copy/ && \
|
$workspace/bazel-bin/qt/runanki* $workspace/bazel-copy/ && \
|
||||||
$workspace/bazel-copy/runanki $*
|
$workspace/bazel-copy/runanki $*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue