Merge "Buck: Avoid unnecessary zip over all API artifacts"

This commit is contained in:
David Pursehouse
2015-09-22 12:06:10 +00:00
committed by Gerrit Code Review

8
BUCK
View File

@@ -22,11 +22,9 @@ API_DEPS = [
genrule( genrule(
name = 'api', name = 'api',
cmd = ';'.join( cmd = 'echo done >$OUT',
['cd $TMP'] + deps = API_DEPS,
['ln -s $(location %s) .' % n for n in API_DEPS] + out = '__fake.api__',
['zip -q0 $OUT *']),
out = 'api.zip',
) )
genrule( genrule(