Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ matrix:
- env: TARGET=x86_64-unknown-linux-musl

# Mac
- env: TARGET=i686-apple-darwin
os: osx
- env: TARGET=x86_64-apple-darwin
os: osx
# - env: TARGET=i686-apple-darwin
# os: osx
# - env: TARGET=x86_64-apple-darwin
# os: osx

# BSD
- env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
Expand All @@ -41,14 +41,14 @@ matrix:
# Other channels
- env: TARGET=x86_64-unknown-linux-gnu
rust: beta
- env: TARGET=x86_64-apple-darwin
os: osx
rust: beta
# - env: TARGET=x86_64-apple-darwin
# os: osx
# rust: beta
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly
# - env: TARGET=x86_64-apple-darwin
# os: osx
# rust: nightly

before_install:
- set -e
Expand Down
3 changes: 3 additions & 0 deletions src/renderer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub use self::html_handlebars::HtmlHandlebars;

mod html_handlebars;

use std::fs;
use std::io::Read;
use std::path::PathBuf;
use std::process::{Command, Stdio};
Expand Down Expand Up @@ -152,6 +153,8 @@ impl Renderer for CmdRenderer {
fn render(&self, ctx: &RenderContext) -> Result<()> {
info!("Invoking the \"{}\" renderer", self.cmd);

let _ = fs::create_dir_all(&ctx.destination);

let mut child = self.compose_command()?
.stdin(Stdio::piped())
.stdout(Stdio::inherit())
Expand Down