diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 02:41:21 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 02:41:21 -0500 |
commit | a6f45bfa932b9e8e2393b5643e2bc38e44ba76df (patch) | |
tree | b823cbca417ea4753f6dfe87ba986d2023ecb39a /cmd/planr/sub/evaluate.go | |
parent | 4a6efc74aebcc689a734d05bc8435eb9560340e1 (diff) | |
download | deb-planr-a6f45bfa932b9e8e2393b5643e2bc38e44ba76df.tar.xz deb-planr-a6f45bfa932b9e8e2393b5643e2bc38e44ba76df.zip |
Add config w/ version information
Diffstat (limited to 'cmd/planr/sub/evaluate.go')
-rw-r--r-- | cmd/planr/sub/evaluate.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/planr/sub/evaluate.go b/cmd/planr/sub/evaluate.go index 18cccb1..c2549be 100644 --- a/cmd/planr/sub/evaluate.go +++ b/cmd/planr/sub/evaluate.go @@ -4,7 +4,9 @@ import ( "golang.flu0r1ne.net/planr" ) -func Evaluate(runner planr.Runner, params []string) { +func Evaluate(runner planr.Runner, params []string, cfg planr.Config) { + dieIncompatibleVersion(cfg) + tcs := runner.CollectCases() trs := runner.Evaluate(tcs) |