Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
move stardoc.bzl to stardoc/ (#124)
Browse files Browse the repository at this point in the history
* move stardoc.bzl to stardoc/

* add the stardoc directory accidentally omitted from last commit
  • Loading branch information
c-parsons committed Nov 26, 2018
1 parent 9bbdf62 commit 30f05c6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
16 changes: 0 additions & 16 deletions skylark/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package(default_visibility = ["//visibility:public"])

load("@bazel_skylib//:skylark_library.bzl", "skylark_library")
load("//skylark:skylark.bzl", "skylark_doc")
load("//skylark:stardoc.bzl", "stardoc")

skylark_library(
name = "skylark",
Expand All @@ -14,14 +13,6 @@ skylark_library(
],
)

skylark_library(
name = "stardoc_lib",
srcs = ["stardoc.bzl"],
deps = [
"@bazel_skylib//:skylark_library",
],
)

skylark_doc(
name = "skylark-docs",
srcs = ["skylark.bzl"],
Expand All @@ -30,10 +21,3 @@ skylark_doc(
deps = [":skylark"],
)

stardoc(
name = "stardoc_doc",
out = "stardoc_doc.md",
input = ":stardoc.bzl",
symbol_names = ["stardoc"],
deps = [":stardoc_lib"],
)
22 changes: 22 additions & 0 deletions stardoc/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
licenses(["notice"]) # Apache 2.0

package(default_visibility = ["//visibility:public"])

load("@bazel_skylib//:skylark_library.bzl", "skylark_library")
load("//stardoc:stardoc.bzl", "stardoc")

skylark_library(
name = "stardoc_lib",
srcs = ["stardoc.bzl"],
deps = [
"@bazel_skylib//:skylark_library",
],
)

stardoc(
name = "stardoc_doc",
out = "stardoc_doc.md",
input = ":stardoc.bzl",
symbol_names = ["stardoc"],
deps = [":stardoc_lib"],
)
File renamed without changes.
6 changes: 3 additions & 3 deletions test/BUILD
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
licenses(["notice"]) # Apache 2.0

sh_test(
name = "skydoc_self_gen_test",
name = "stardoc_self_gen_test",
srcs = ["diff_test_runner.sh"],
args = [
"$(location //skylark:stardoc_doc.md)",
"$(location //stardoc:stardoc_doc.md)",
"$(location :self_doc_golden.md)",
],
data = [
"self_doc_golden.md",
"//skylark:stardoc_doc.md",
"//stardoc:stardoc_doc.md",
],
)

0 comments on commit 30f05c6

Please sign in to comment.