summaryrefslogtreecommitdiff
path: root/sync-build.sh
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-12-10 16:54:40 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-12-10 16:54:40 +0100
commitd6486b240fad3911282930edcf919347ace2e444 (patch)
treeee398e48ce1d924ba0bba6078a4f48fd56cb7cf1 /sync-build.sh
parentd3d1e6c57a17bd2c5120ce682cabf8022af19d23 (diff)
downloadwireshark-notes-d6486b240fad3911282930edcf919347ace2e444.tar.gz
sync-build.sh: enable extra warnings, ignore files
Diffstat (limited to 'sync-build.sh')
-rwxr-xr-xsync-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync-build.sh b/sync-build.sh
index 291a08e..253d43a 100755
--- a/sync-build.sh
+++ b/sync-build.sh
@@ -81,6 +81,7 @@ if [ ! -e $builddir/CMakeCache.txt ]; then
-DENABLE_GNUTLS=1 \
-DENABLE_GCRYPT=1 \
-DCMAKE_BUILD_TYPE=Debug \
+ -DENABLE_EXTRA_COMPILER_WARNINGS=1 \
$remotesrcdir \
-DCMAKE_LIBRARY_PATH=$LIBDIR \
-DCMAKE_C_FLAGS=$(printf %q "$CFLAGS") \
@@ -132,6 +133,8 @@ while inotifywait -qq -e close_write "$sync"; do
# IMPORTANT: do not sync top-level config.h or it will break OOT builds
rsync -av --delete --exclude='.*.sw?' \
--exclude=config.h \
+ --exclude=compile_commands.json \
+ --exclude=\*.tar\* \
"$localsrcdir/" "$remotehost:$remotesrcdir/" &&
ssh -t "$remotehost" "$remotecmd"
retval=$?