mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
feat(make): apis target - make all apis
This commit is contained in:
2
Makefile
2
Makefile
@@ -39,7 +39,7 @@ api-deps: $(API_DEPS)
|
||||
|
||||
include $(API_DEPS)
|
||||
|
||||
clean: clean-api
|
||||
clean: clean-apis
|
||||
-rm -Rf $(VENV_DIR)
|
||||
-rm $(API_DEPS)
|
||||
|
||||
|
||||
@@ -31,9 +31,11 @@ ${api_clean}:
|
||||
.PHONY += $(.PHONY) ${' '.join(a[0] for a in api_info)} ${' '.join(a[1] for a in api_info)}
|
||||
|
||||
help-api:
|
||||
$(info apis - make all APIs)
|
||||
% for a in api_info:
|
||||
$(info ${a[0]} - build the ${a[0]} api)
|
||||
$(info ${a[1]} - clean all generated files of the ${a[0]} api)
|
||||
% endfor
|
||||
|
||||
clean-api: ${' '.join(a[1] for a in api_info)}
|
||||
clean-apis: ${' '.join(a[1] for a in api_info)}
|
||||
apis: ${' '.join(a[0] for a in api_info)}
|
||||
Reference in New Issue
Block a user