-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made as many dependencies dev dependencies as can be
- Loading branch information
Jaden Peterson
committed
Dec 6, 2024
1 parent
42748f0
commit 20610a7
Showing
7 changed files
with
53 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
load("@buildifier_prebuilt//:rules.bzl", "buildifier", "buildifier_test") | ||
|
||
buildifier( | ||
name = "buildifier", | ||
) | ||
|
||
buildifier_test( | ||
name = "buildifier_check", | ||
mode = "check", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Borrowed from lucidsoftware/rules_scala | ||
|
||
load("@bazel_skylib//lib:paths.bzl", "paths") | ||
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar") | ||
load("@stardoc//stardoc:stardoc.bzl", "stardoc") | ||
|
||
bzl_files = ["//twirl:twirl.bzl"] | ||
|
||
[ | ||
stardoc( | ||
name = paths.replace_extension(file, "_doc").removeprefix("//twirl:").replace("/", "_"), | ||
out = paths.replace_extension(file, ".md").removeprefix("//twirl:").replace("/", "_"), | ||
input = file, | ||
symbol_names = ["twirl_templates"], | ||
deps = [ | ||
"//twirl:bzl_internal", | ||
], | ||
) | ||
for file in bzl_files | ||
] | ||
|
||
pkg_tar( | ||
name = "docs", | ||
srcs = [ | ||
paths.replace_extension(file, ".md").removeprefix("//twirl:").replace("/", "_") | ||
for file in bzl_files | ||
], | ||
mode = "0644", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters