Skip to content

Commit a87fbdf

Browse files
committed
fix(travis): try using a subshell for cargo cmd
Apparently travis doesn't execute cargo in the right sub-directory. Might be a difference in the way make works Related to #8
1 parent 51d05d6 commit a87fbdf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/mako/deps.mako

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ${gen_root_stamp}: ${' '.join(i[0] for i in sds)} ${api_json_inputs} $(MAKO_STAN
6262
${api_name}: ${api_common}
6363

6464
${api_cargo}: ${api_name}
65-
cd ${gen_root} && cargo $(ARGS)
65+
(cd ${gen_root} && cargo $(ARGS))
6666

6767
${api_doc_index}: ${api_name}
6868
cd ${gen_root} && cargo doc
@@ -85,6 +85,7 @@ apis: ${space_join(0)}
8585

8686
${doc_index}: ${' '.join(central_api_index(a[0]) for a in api_info)} $(MAKO_STANDARD_DEPENDENCIES)
8787
$(MAKO) --var DOC_ROOT=${doc_root} -io $(MAKO_SRC)/index.html.mako=$@ --data-files $(API_SHARED_INFO) $(API_LIST)
88+
@echo Documentation index created at '$@'
8889

8990
docs: ${doc_index}
9091
docs-clean:

0 commit comments

Comments
 (0)