From d6486b240fad3911282930edcf919347ace2e444 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Wed, 10 Dec 2014 16:54:40 +0100 Subject: sync-build.sh: enable extra warnings, ignore files --- sync-build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sync-build.sh') 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=$? -- cgit v1.2.1