Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit f047f88

Browse files
Update BUILD files
This was done by running `./pants update-build-files`. It replaced the deprecated `shell_library` target with `shell_sources`, and formatted all BUILD files using Black. Signed-off-by: Christopher Maier <[email protected]>
1 parent 27b41a7 commit f047f88

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

bin/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
shell_library()
1+
shell_sources()

fixtures/BUILD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
resources(
2-
sources=["*.json"]
3-
)
1+
resources(sources=["*.json"])

hooks/BUILD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
shell_library(
2-
sources=["command"]
3-
)
1+
shell_sources(sources=["command"])

lib/BUILD

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
shell_library(
2-
dependencies=[":jq"]
3-
)
1+
shell_sources(dependencies=[":jq"])
42

5-
resources(
6-
name="jq",
7-
sources=["*.jq"]
8-
)
3+
resources(name="jq", sources=["*.jq"])
94

10-
shunit2_tests(
11-
name="tests",
12-
dependencies=["fixtures"]
13-
)
5+
shunit2_tests(name="tests", dependencies=["fixtures"])

0 commit comments

Comments
 (0)