Skip to content

Commit

Permalink
add RootRule
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Dec 25, 2019
1 parent 2ac57c2 commit 36aaef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/pants/binaries/binary_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from pants.binaries.binary_util import BinaryRequest, BinaryUtil
from pants.engine.fs import Digest, PathGlobs, PathGlobsAndRoot, Snapshot, UrlToFetch
from pants.engine.rules import rule
from pants.engine.rules import RootRule, rule
from pants.engine.selectors import Get
from pants.fs.archive import XZCompressedTarArchiver, create_archiver
from pants.subsystem.subsystem import Subsystem
Expand Down Expand Up @@ -283,4 +283,5 @@ async def fetch_binary_tool(req: BinaryToolFetchRequest) -> Snapshot:
def rules():
return [
fetch_binary_tool,
RootRule(BinaryToolFetchRequest),
]

0 comments on commit 36aaef7

Please sign in to comment.