aedi: add detection to unrar target

This commit is contained in:
alexey.lysiuk 2021-07-22 09:55:20 +03:00
parent 0961551fd8
commit 85ab6c4706
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ class UnrarTarget(MakeTarget):
def post_build(self, state: BuildState):
self.copy_to_bin(state)
def detect(self, state: BuildState) -> bool:
return state.has_source_file('rar.hpp')
class ZipTarget(MakeTarget):
def __init__(self, name='zip'):