Skip to content

Commit

Permalink
fix(travis): incorrectly capitalized cargo.toml
Browse files Browse the repository at this point in the history
This caused cargo on a case-sensitive file-system not to find the
cargo file, which made it to look upwards in the directory structure
to find the correctly named Cargo.toml fo the 'cmn' development
project.
  • Loading branch information
Byron committed Mar 15, 2015
1 parent 7f33cf2 commit 31efbf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/api/shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ api:
# all output directories are relative to the one set for the respective API
- source: README.md
- source: LICENSE.md
- source: cargo.toml
- source: Cargo.toml
- source: lib.rs
output_dir: src
cargo:
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/mako/deps.mako
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ ${gen_root_stamp}: ${' '.join(i[0] for i in sds)} ${api_json_inputs} $(MAKO_STAN
${api_name}: ${api_common}

${api_cargo}: ${api_name}
(cd ${gen_root} && cargo $(ARGS))
cd ${gen_root} && cargo $(ARGS)

${api_doc_index}: ${api_name}
(cd ${gen_root} && cargo doc)
cd ${gen_root} && cargo doc
@echo "Docs for ${api_name} at $@"

${api_doc}: ${api_doc_index}
Expand Down

0 comments on commit 31efbf4

Please sign in to comment.