.
This commit is contained in:
parent
a82ae14c34
commit
300c411942
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
clear
|
||||
go test
|
||||
inotifywait -q -e modify -e create -e delete -r .
|
||||
done
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
func processRepositoryAction(h *common.RequestHandler) error {
|
||||
action := h.Request.Data.(common.RepositoryAction)
|
||||
|
||||
if action.Repository.Name == "_ObsPrj" {
|
||||
h.Log("repository event %s for _ObsPrj. Ignoring", action.Action)
|
||||
if action.Repository.Name == common.DefaultGitPrj {
|
||||
h.Log("repository event %s for %s. Ignoring", common.DefaultGitPrj, action.Action)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -42,8 +42,8 @@ func processRepositoryAction(h *common.RequestHandler) error {
|
||||
func processPushAction(h *common.RequestHandler) error {
|
||||
action := h.Request.Data.(common.PushRequest)
|
||||
|
||||
if action.Repository.Name == "_ObsPrj" {
|
||||
h.Log("push to _ObsPrj -- ignoring")
|
||||
if action.Repository.Name == common.DefaultGitPrj {
|
||||
h.Log("push to %s -- ignoring", common.DefaultGitPrj)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -1,2 +1,4 @@
|
||||
package main
|
||||
|
||||
// TODO, like documentation :-)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user