Buck: Avoid unnecessary zip over all API artifacts
Let's avoid creating unnecessary 50 MB zip file that takes around 4
seconds on my laptop.
Change-Id: I92ef34b0b9bdb78fb1811fe02fdd1a135f7f422a
diff --git a/BUCK b/BUCK
index 4dd69c3..a73d347 100644
--- a/BUCK
+++ b/BUCK
@@ -22,11 +22,9 @@
genrule(
name = 'api',
- cmd = ';'.join(
- ['cd $TMP'] +
- ['ln -s $(location %s) .' % n for n in API_DEPS] +
- ['zip -q0 $OUT *']),
- out = 'api.zip',
+ cmd = 'echo done >$OUT',
+ deps = API_DEPS,
+ out = '__fake.api__',
)
genrule(