Skip to content

Commit

Permalink
Add doc to attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
borkaehw committed Jan 27, 2020
1 parent 7988a24 commit feeb970
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scala/scalafmt/phase_scalafmt_ext.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ ext_scalafmt = {
default = "@scalafmt_default//:config",
doc = "The Scalafmt configuration file.",
),
"format": attr.bool(
default = False,
doc = "Switch of enabling formatting."
),
"_fmt": attr.label(
cfg = "host",
default = "//scala/scalafmt",
Expand All @@ -27,9 +31,6 @@ ext_scalafmt = {
allow_single_file = True,
default = "//scala/scalafmt:testrunner",
),
"format": attr.bool(
default = False,
),
},
"outputs": {
"scalafmt_runner": "%{name}.format",
Expand Down

0 comments on commit feeb970

Please sign in to comment.