# HG changeset patch # User Vesa Norilo # Date 1567681739 -10800 # Thu Sep 05 14:08:59 2019 +0300 # Node ID f2cc6c8972dd8560fb1ef484231afdc29e89bf41 # Parent 3ad24ff4bc1331a5168b341e36680b04834e04fb add loop scripts diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,10 +83,11 @@ 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"] }]=]) diff --git a/run-bot.bat b/run-bot.bat new file mode 100644 --- /dev/null +++ b/run-bot.bat @@ -0,0 +1,3 @@ +:loop +cmake --build . --config Release +goto loop \ No newline at end of file diff --git a/run-bot.sh b/run-bot.sh new file mode 100644 --- /dev/null +++ b/run-bot.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +while :; do make; done \ No newline at end of file