aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/random_bugs/cmd/main.go (renamed from misc/random_bugs/main.go)9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/random_bugs/main.go b/misc/random_bugs/cmd/main.go
index f67cd432..ec62b6ed 100644
--- a/misc/random_bugs/main.go
+++ b/misc/random_bugs/cmd/main.go
@@ -1,10 +1,9 @@
-// +build ignore
-
package main
import (
"os"
+ "github.com/MichaelMure/git-bug/bug"
rb "github.com/MichaelMure/git-bug/misc/random_bugs"
"github.com/MichaelMure/git-bug/repository"
)
@@ -17,7 +16,11 @@ func main() {
panic(err)
}
- repo, err := repository.NewGitRepo(dir)
+ loaders := []repository.ClockLoader{
+ bug.ClockLoader,
+ }
+
+ repo, err := repository.NewGitRepo(dir, loaders)
if err != nil {
panic(err)
}