Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1022)

Unified Diff: build_scheduler/go/parse_task_cfg/main.go

Issue 2296763008: [task scheduler] Move files from build_scheduler/ to task_scheduler/ (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_scheduler/go/db/testutil.go ('k') | build_scheduler/go/task_scheduler/cache_wrapper.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_scheduler/go/parse_task_cfg/main.go
diff --git a/build_scheduler/go/parse_task_cfg/main.go b/build_scheduler/go/parse_task_cfg/main.go
deleted file mode 100644
index 248ceed5a37073f8bda29b996f25ed0e796df874..0000000000000000000000000000000000000000
--- a/build_scheduler/go/parse_task_cfg/main.go
+++ /dev/null
@@ -1,31 +0,0 @@
-package main
-
-/*
- Convenience program for verification of task config files.
-*/
-
-import (
- "flag"
- "io/ioutil"
-
- "github.com/skia-dev/glog"
- "go.skia.org/infra/build_scheduler/go/task_scheduler"
- "go.skia.org/infra/go/common"
-)
-
-var (
- cfgFile = flag.String("cfg_file", "", "Config file to parse.")
-)
-
-func main() {
- common.Init()
- defer common.LogPanic()
-
- b, err := ioutil.ReadFile(*cfgFile)
- if err != nil {
- glog.Fatal(err)
- }
- if _, err := task_scheduler.ParseTasksCfg(string(b)); err != nil {
- glog.Fatal(err)
- }
-}
« no previous file with comments | « build_scheduler/go/db/testutil.go ('k') | build_scheduler/go/task_scheduler/cache_wrapper.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698