mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Support Bazel HTTP cache
This commit is contained in:
parent
f5a552ce96
commit
04fbe1832d
5
Makefile
5
Makefile
@ -46,7 +46,10 @@ BUCK_OPTIONS=\
|
|||||||
|
|
||||||
BAZEL=$(shell which bazel)
|
BAZEL=$(shell which bazel)
|
||||||
|
|
||||||
ifneq ($(BAZEL_CACHE_DIR),)
|
ifneq ($(BAZEL_HTTP_CACHE_URL),)
|
||||||
|
export BAZEL_CACHE_FLAGS=\
|
||||||
|
--remote_cache="$(BAZEL_HTTP_CACHE_URL)"
|
||||||
|
else ifneq ($(BAZEL_CACHE_DIR),)
|
||||||
export BAZEL_CACHE_FLAGS=\
|
export BAZEL_CACHE_FLAGS=\
|
||||||
--disk_cache="${BAZEL_CACHE_DIR}"
|
--disk_cache="${BAZEL_CACHE_DIR}"
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user