]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
doozer: 'fix' dirty build issue (4).
authorMark Clarkstone <hello@markclarkstone.co.uk>
Mon, 18 Sep 2017 18:21:37 +0000 (19:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 24 Sep 2017 07:08:09 +0000 (09:08 +0200)
from (but modified): https://stackoverflow.com/questions/24533390/git-reset-files-with-typechange-status#27461055

.doozer.json

index 56fba4ad3474e8a4d29ad6a8f5656b1f50af2b06..4962eef20b247af73850f54ef8d1de2729c862dd 100644 (file)
@@ -24,6 +24,7 @@
         "libx11-xcb-dev"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
@@ -50,6 +51,7 @@
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
@@ -76,6 +78,7 @@
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-ffmpeg_static\\ --enable-hdhomerun_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-hdhomerun_static\\ --disable-ffmpeg_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\\ --enable-hdhomerun_static\\ --disable-ffmpeg_static ./Autobuild.sh -t ${TARGET} -j ${PARALLEL} -w ${WORKDIR}",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "./configure --disable-dvbscan && make -C rpm build-doozer",
         "support/bintray.py publish filelist.txt"
       ]
         "ccache"
       ],
       "buildcmd": [
+        "git status | grep -e 'typechange' -e 'modified' | awk '{print $2}' | xargs git checkout",
         "./configure --disable-dvbscan && make -C rpm build-doozer",
         "support/bintray.py publish filelist.txt"
       ]