summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-07-31 23:00:32 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-07-31 23:00:32 +0200
commitf6b73cdb4637bdc1efdab17d9ac645c096dfe30d (patch)
treeeeae7c435840062bb60d788acfab2fefab02f1fa
parent6c67fc2b2df0dfe8005d5a181ede107dfc1f3db1 (diff)
downloadwireshark-notes-f6b73cdb4637bdc1efdab17d9ac645c096dfe30d.tar.gz
sync-build.sh: drop obsolete cmake options, ignore some changes
Do not wake up on running tests (which might touch __pycache__ and pytest files).
-rwxr-xr-xsync-build.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/sync-build.sh b/sync-build.sh
index 7976db0..9a7c1bf 100755
--- a/sync-build.sh
+++ b/sync-build.sh
@@ -124,10 +124,6 @@ if $force_cmake || [ ! -e $builddir/CMakeCache.txt ]; then
-DCMAKE_INSTALL_PREFIX=/tmp/wsroot \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=1 \
-DCMAKE_INSTALL_RPATH=$(printf %q "$RPATH") \
- -DENABLE_GTK3=1 \
- -DENABLE_PORTAUDIO=1 \
- -DENABLE_QT5=1 \
- -DENABLE_GEOIP=1 \
-DENABLE_KERBEROS=1 \
-DENABLE_SBC=1 \
-DENABLE_SMI=0 \
@@ -163,9 +159,10 @@ trap cleanup EXIT
round=0
monitor_changes() {
# Wait for changes, but ignore .git/ and vim swap files
+ # and also pytest_cache and Python 3 cache directory.
# NOTE: you cannot add multiple --exclude options, they must be combined
inotifywait -r -m -e close_write \
- --exclude='/(\.[^/]+)?\.swp?.$|~$|\/.git/' \
+ --exclude='/(\.[^/]+)?\.swp?.$|~$|\/(\.git|\.pytest_cache|__pycache__)/' \
"$localsrcdir/" |
while read x; do
printf '\e[36m%s\e[m\n' "Trigger $((++round)): $x" >&2