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() {