| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package main |
| |
| /* |
| Generate the tasks.json file. |
| */ |
| |
| import ( |
| "fmt" |
| |
| "go.skia.org/skia/infra/bots/gen_tasks_logic" |
| ) |
| |
| func main() { |
| fmt.Println("main start") |
| gen_tasks_logic.CAS_SPEC_WHOLE_REPO.Paths = append(gen_tasks_logic.CAS_SPEC_WHOLE_REPO.Paths, |
| "lottie-ci", |
| ) |
| fmt.Println("set whole_repo paths") |
| gen_tasks_logic.CAS_SPEC_LOTTIE_CI.Paths = append(gen_tasks_logic.CAS_SPEC_LOTTIE_CI.Paths, |
| "lottie", |
| ) |
| fmt.Println("set lottie-ci paths") |
| gen_tasks_logic.GenTasks(nil) |
| fmt.Println("done") |
| } |