From 7171ddbca2d49b9a95abbe726b64de5cc64a3ef6 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sun, 30 Oct 2016 19:37:22 -0700 Subject: [PATCH] Notes, make sure indent in recipes is ignored --- notes | 2 +- src/unit.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notes b/notes index 139f150..f5e67b6 100644 --- a/notes +++ b/notes @@ -16,7 +16,7 @@ todo . make it clear it's beta, mention that, as a command runner there is probably a higher than normal chance of disaster -. installation instructions +. installation instructions with cargo or rustup . vim and emacs syntax hilighting (use makefile syntax hilighting for now) diff --git a/src/unit.rs b/src/unit.rs index 1d004c7..118a6c5 100644 --- a/src/unit.rs +++ b/src/unit.rs @@ -717,9 +717,9 @@ fn run_shebang() { a: #!/usr/bin/env sh code=200 - function x { return $code; } - x - x + function x { return $code; } + x + x "; match parse_success(text).run(&Map::new(), &["a"], false, false).unwrap_err() {