-
-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pants: prefer 'assets' as target name
'artifacts' refers more to distributable stuff like wheels. 'assets' encompasses 'file' and 'resource' targets.
- Loading branch information
1 parent
e9c9346
commit 95bdd9e
Showing
4 changed files
with
8 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
files( | ||
name="artifacts", | ||
name="assets", | ||
sources=[ | ||
"*.txt", | ||
"*.conf", | ||
], | ||
) | ||
|
||
shell_sources( | ||
dependencies=[":artifacts"], | ||
dependencies=[":assets"], | ||
) |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
resources( | ||
name="artifacts", | ||
name="assets", | ||
sources=["*.yaml"], | ||
) | ||
|
||
python_sources( | ||
dependencies=[":artifacts"], | ||
dependencies=[":assets"], | ||
) |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
resources( | ||
name="artifacts", | ||
name="assets", | ||
sources=["*.json"], | ||
) | ||
|
||
python_sources( | ||
dependencies=[":artifacts"], | ||
dependencies=[":assets"], | ||
) |
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