Edited wizzard, runner: first run - do not run CI!

This commit is contained in:
2018-02-25 20:43:54 +01:00
parent 8aee30f8d2
commit 68670d16f2
3 changed files with 47 additions and 1 deletions

View File

@@ -1,5 +1,18 @@
#!/bin/bash
function detectorTryInit(){
# repo dir
dir=$1
history=$DET_DIR/detectorExecuted
if ! [ -f $history ]
then
echo "Initializing detector cache"
# initialize seed
git --git-dir $dir log --all --format="%H" > $history
fi
}
function detectorCheckCommit(){
sha=$1
history=$DET_DIR/detectorExecuted