f2cc6c8972dd — Vesa Norilo 5 years ago
add loop scripts
3 files changed, 8 insertions(+), 1 deletions(-)

M CMakeLists.txt
A => run-bot.bat
A => run-bot.sh
M CMakeLists.txt +2 -1
@@ 83,10 83,11 @@ else()
 
 	file(WRITE ${CMAKE_BINARY_DIR}/config-template.json.in [=[{
 		"remote": "https://hg.sr.ht/~vnorilo/kronos",
-		"buildmaster": "${COUCHBOT_DATABASE}",
+		"database": "${COUCHBOT_DATABASE}",
 		"user": "${COUCHBOT_USER}",
 		"passwd": "${COUCHBOT_PASSWORD}",
 		"cmake_args": ${COUCHBOT_CMAKE_ARGS},
+		"self_update": "${BUILD_PREFIX}/Source/couchbot",
 		"artifacts": ["*.msi", "*.pkg", "*.deb", "test_run.json"]
 	}]=])
 

          
A => run-bot.bat +3 -0
@@ 0,0 1,3 @@ 
+:loop
+cmake --build . --config Release
+goto loop
  No newline at end of file

          
A => run-bot.sh +3 -0
@@ 0,0 1,3 @@ 
+#!/bin/bash
+
+while :; do make; done
  No newline at end of file