Het Satasiya | c34b3ea | 2022-02-06 17:28:49 -0800 | [diff] [blame^] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
Het Satasiya | c6df332 | 2022-02-05 14:12:30 -0800 | [diff] [blame] | 2 | |
| 3 | go_library( |
| 4 | name = "scraping", |
| 5 | srcs = [ |
| 6 | "scrape.go", |
| 7 | "types.go", |
| 8 | ], |
| 9 | importpath = "github.com/frc971/971-Robot-Code/scouting/scraping", |
| 10 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 11 | visibility = ["//visibility:public"], |
| 12 | ) |
Het Satasiya | c34b3ea | 2022-02-06 17:28:49 -0800 | [diff] [blame^] | 13 | |
| 14 | go_binary( |
| 15 | name = "scraping_demo", |
| 16 | srcs = ["scraping_demo.go"], |
| 17 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 18 | visibility = ["//visibility:public"], |
| 19 | deps = [ |
| 20 | "scraping", |
| 21 | "@com_github_davecgh_go_spew//spew:go_default_library", |
| 22 | ], |
| 23 | ) |