it's broken but I want to see what changes
parent
ecf359f936
commit
2ceca7fdee
@ -1,15 +1,36 @@
|
|||||||
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||||
|
|
||||||
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
load("@bazel_gazelle//:def.bzl", "gazelle")
|
load("@bazel_gazelle//:def.bzl", "gazelle")
|
||||||
|
|
||||||
# gazelle:prefix code.ndumas.com/ndumas/wikilinks-parser
|
# gazelle:prefix code.ndumas.com/ndumas/obsidian-markdown
|
||||||
gazelle(name = "gazelle")
|
gazelle(name = "gazelle")
|
||||||
|
|
||||||
gazelle(
|
go_library(
|
||||||
name = "gazelle-update-repos",
|
name = "obsidian-markdown",
|
||||||
args = [
|
srcs = [
|
||||||
"-from_file=go.mod",
|
"lexemetype_string.go",
|
||||||
"-to_macro=deps.bzl%go_dependencies",
|
"lexer.go",
|
||||||
"-prune",
|
"states.go",
|
||||||
"-build_file_proto_mode=disable_global",
|
"wikilink.go",
|
||||||
|
],
|
||||||
|
importpath = "code.ndumas.com/ndumas/obsidian-markdown",
|
||||||
|
deps = [
|
||||||
|
"@org_uber_go_zap//:go_default_library",
|
||||||
|
"@org_uber_go_zap//zapcore:go_default_library",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
go_test(
|
||||||
|
name = "obsidian-markdown_test",
|
||||||
|
srcs = [
|
||||||
|
"lexer_test.go",
|
||||||
|
"wikilink_test.go",
|
||||||
|
],
|
||||||
|
deps = [
|
||||||
|
":obsidian-markdown",
|
||||||
|
"@com_github_stretchr_testify//assert:go_default_library",
|
||||||
|
"@org_uber_go_zap//zapcore:go_default_library",
|
||||||
],
|
],
|
||||||
command = "update-repos",
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue