Skip to content

Commit

Permalink
feat(make): apis target - make all apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 2, 2015
1 parent 2298601 commit e3b6aee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ api-deps: $(API_DEPS)

include $(API_DEPS)

clean: clean-api
clean: clean-apis
-rm -Rf $(VENV_DIR)
-rm $(API_DEPS)

Expand Down
4 changes: 3 additions & 1 deletion src/mako/deps.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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)}

0 comments on commit e3b6aee

Please sign in to comment.