Skip to content

Commit

Permalink
Merge pull request #21 from roblabla/master
Browse files Browse the repository at this point in the history
Add travis.yml
  • Loading branch information
roblabla authored Sep 14, 2018
2 parents f05d088 + ea4a9ae commit 308da74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: rust
rust:
- stable

script:
- cargo build --verbose --all --all-features
- cargo test --verbose --all --all-features

cache: cargo
4 changes: 3 additions & 1 deletion src/bin/cargo-nro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ fn main() {
nacp.name.get_or_insert(package.name);
nacp.author.get_or_insert(package.authors[0].clone());
nacp.version.get_or_insert(package.version);
nacp.title_id.get_or_insert(package.title_id);
if nacp.title_id.is_none() {
nacp.title_id = target_metadata.title_id;
}

let mut new_name = PathBuf::from(artifact.filenames[0].clone());
assert!(new_name.set_extension("nro"));
Expand Down

0 comments on commit 308da74

Please sign in to comment.