| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/go/go_library.gni") |
| import("//build/go/go_test.gni") |
| |
| go_library("core") { |
| sources = [ |
| "recognizer.go", |
| "recognizer_test.go", |
| "registry.go", |
| "reporter.go", |
| "reporter_test.go", |
| "rules.go", |
| "tokenizer.go", |
| "tokenizer_test.go", |
| ] |
| } |
| |
| go_test("mdlint_core_tests") { |
| library = ":core" |
| deps = [ "//third_party/golibs:github.com/google/go-cmp" ] |
| } |