This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Leetcode

Leetcode rules

1 - al_leetcode_submissions

al_leetcode_submissions

load("@com_alwaldend_src//bzl/rules/leetcode:al_leetcode_submissions.bzl", "al_leetcode_submissions")

al_leetcode_submissions(name, srcs, package_dir, visibility, **kwargs)

Generate leetcode submission targets

PARAMETERS

Name Description Default Value
name generated md archive name none
srcs leetcode submission configs none
package_dir package_dir to use none
visibility visibility None
kwargs kwargs for al_template_files none

2 - Bazel targets

NameInfo
al_leetcode_submissions
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:al_leetcode_submissions
ruleClassbzl_library
visibility
  • //visibility:public
al_leetcode_submissions.stardoc
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:al_leetcode_submissions.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/leetcode:al_leetcode_submissions.stardoc.md
visibility
  • //visibility:private
al_leetcode_submissions.stardoc_raw
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:al_leetcode_submissions.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/leetcode:al_leetcode_submissions.stardoc_raw.md
visibility
  • //visibility:private
al_leetcode_submissions.stardoc_raw.extract
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:al_leetcode_submissions.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/leetcode:al_leetcode_submissions.stardoc_raw.extract.binaryproto
  • //bzl/rules/leetcode:al_leetcode_submissions.stardoc_raw.extract.textproto
visibility
  • //visibility:private
changelog
locationbzl/rules/leetcode/BUILD.bazel:6:17
name//bzl/rules/leetcode:changelog
ruleClasspkg_filegroup
visibility
  • //visibility:public
changelog.changelog
locationbzl/rules/leetcode/BUILD.bazel:6:17
name//bzl/rules/leetcode:changelog.changelog
ruleClassal_template_files
ruleOutput
  • //bzl/rules/leetcode:changelog.doc.md
visibility
  • //visibility:private
changelog.changelog_data
locationbzl/rules/leetcode/BUILD.bazel:6:17
name//bzl/rules/leetcode:changelog.changelog_data
ruleClassal_git_run_binary
ruleOutput
  • //bzl/rules/leetcode:changelog.changelog_data.yaml
visibility
  • //visibility:private
changelog.changelog_files
locationbzl/rules/leetcode/BUILD.bazel:6:17
name//bzl/rules/leetcode:changelog.changelog_files
ruleClasspkg_files
visibility
  • //visibility:private
changelog.template
locationbzl/rules/leetcode/BUILD.bazel:6:17
name//bzl/rules/leetcode:changelog.template
ruleClass_write_file
ruleOutput
  • //bzl/rules/leetcode:changelog.template.md
visibility
  • //visibility:private
libs
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:libs
ruleClassbzl_library
visibility
  • //visibility:public
libs.stardoc
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:libs.stardoc
ruleClasspkg_filegroup
visibility
  • //visibility:public
libs.stardoc_src
locationbzl/rules/leetcode/BUILD.bazel:11:19
name//bzl/rules/leetcode:libs.stardoc_src
ruleClasspkg_files
visibility
  • //visibility:private
readme
locationbzl/rules/leetcode/BUILD.bazel:24:10
name//bzl/rules/leetcode:readme
ruleClassfilegroup
visibility
  • //visibility:public
readme.srcs
locationbzl/rules/leetcode/BUILD.bazel:24:10
name//bzl/rules/leetcode:readme.srcs
ruleClasspkg_files
visibility
  • //visibility:private
readme.with_children
locationbzl/rules/leetcode/BUILD.bazel:24:10
name//bzl/rules/leetcode:readme.with_children
ruleClasspkg_filegroup
visibility
  • //visibility:public

3 - Changelog

  • Remove pkg_tar from leetcode rules (5e3ad2)
  • Move changelog rules to bzl/rules/git, improve ansible rules (c94123)
  • Move ansible and leetcode rules to bzl/rules (0d9b39)