diff --git a/CHANGELOG.md b/CHANGELOG.md index 31d9451..e4c2a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -735,7 +735,7 @@ Changelog ### Misc - Build and upload release artifacts from GitHub Actions ([#581](https://github.com/casey/just/pull/581)) - List solus package in readme ([#579](https://github.com/casey/just/pull/579)) -- Expand use of Github Actions ([#580](https://github.com/casey/just/pull/580)) +- Expand use of GitHub Actions ([#580](https://github.com/casey/just/pull/580)) - Fix readme typo: interpetation -> interpretation ([#578](https://github.com/casey/just/pull/578) by [Plommonsorbet](https://github.com/Plommonsorbet)) [0.5.5](https://github.com/casey/just/releases/tag/v0.5.5) - 2020-1-15 diff --git a/README.md b/README.md index bbe52cd..08476db 100644 --- a/README.md +++ b/README.md @@ -1036,7 +1036,7 @@ y := """ """ ``` -Similar to unindented strings, indented double-quoted strings process escape sequences, and indented single-quoted strings ignore escape sequences. Escape sequence processing takes place after unindentation. The unindention algorithm does not take escape-sequence produced whitespace or newlines into account. +Similar to unindented strings, indented double-quoted strings process escape sequences, and indented single-quoted strings ignore escape sequences. Escape sequence processing takes place after unindentation. The unindentation algorithm does not take escape-sequence produced whitespace or newlines into account. ### Ignoring Errors @@ -1248,7 +1248,7 @@ directory that contains the `justfile`. This can be disabled using the relative to the invocation directory, or which operate on the current directory. -For exmaple, this `commit` recipe: +For example, this `commit` recipe: ```just [no-cd] diff --git a/examples/kitchen-sink.just b/examples/kitchen-sink.just index 5921cc4..138a613 100644 --- a/examples/kitchen-sink.just +++ b/examples/kitchen-sink.just @@ -188,7 +188,7 @@ variadic $VAR1_1 VAR2 VAR3 VAR4=("a") +$FLAGS='-q': foo2 braces time: @-date +"%H:%S" - -cat /tmp/nonexistant_file.txt + -cat /tmp/nonexistent_file.txt @echo "finished" justwords: diff --git a/src/expression.rs b/src/expression.rs index 32604c1..f7e9598 100644 --- a/src/expression.rs +++ b/src/expression.rs @@ -91,7 +91,7 @@ impl<'src> Serialize for Expression<'src> { Self::Call { thunk } => thunk.serialize(serializer), Self::Concatenation { lhs, rhs } => { let mut seq = serializer.serialize_seq(None)?; - seq.serialize_element("concatinate")?; + seq.serialize_element("concatenate")?; seq.serialize_element(lhs)?; seq.serialize_element(rhs)?; seq.end() diff --git a/src/lexer.rs b/src/lexer.rs index 2f30301..899fc71 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -269,7 +269,7 @@ impl<'src> Lexer<'src> { matches!(c, 'a'..='z' | 'A'..='Z' | '_') } - /// True if `c` can be a continuation character of an idenitifier + /// True if `c` can be a continuation character of an identifier fn is_identifier_continue(c: char) -> bool { if Self::is_identifier_start(c) { return true; diff --git a/src/parser.rs b/src/parser.rs index eeb53df..10a207e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -992,7 +992,7 @@ mod tests { } test! { - name: alias_with_attributee, + name: alias_with_attribute, text: "[private]\nalias t := test", tree: (justfile (alias t test)), } diff --git a/tests/fmt.rs b/tests/fmt.rs index 3c972ed..3786242 100644 --- a/tests/fmt.rs +++ b/tests/fmt.rs @@ -251,7 +251,7 @@ test! { } test! { - name: assignment_parenthized_expression, + name: assignment_parenthesized_expression, justfile: " foo := ('foo') ", diff --git a/tests/ignore_comments.rs b/tests/ignore_comments.rs index 1badd4c..1dc961f 100644 --- a/tests/ignore_comments.rs +++ b/tests/ignore_comments.rs @@ -85,7 +85,7 @@ fn continuations_with_echo_comments_true() { } #[test] -fn dont_evalute_comments() { +fn dont_evaluate_comments() { Test::new() .justfile( " diff --git a/tests/json.rs b/tests/json.rs index 2927fb3..a00b2b9 100644 --- a/tests/json.rs +++ b/tests/json.rs @@ -231,7 +231,7 @@ fn dependency_argument() { "arguments": [ "baz", "baz", - ["concatinate", "a", "b"], + ["concatenate", "a", "b"], ["evaluate", "echo"], ["variable", "x"], ["if", "==", "a", "b", "c", "d"], diff --git a/tests/windows_shell.rs b/tests/windows_shell.rs index be93034..ca6beaa 100644 --- a/tests/windows_shell.rs +++ b/tests/windows_shell.rs @@ -19,7 +19,7 @@ fn windows_shell_setting() { } #[test] -fn windows_powershell_setting_uses_powershell() { +fn windows_powershell_setting_uses_powershell_set_shell() { Test::new() .justfile( r#" @@ -37,7 +37,7 @@ fn windows_powershell_setting_uses_powershell() { } #[test] -fn windows_poweshell_setting_uses_powershell() { +fn windows_powershell_setting_uses_powershell() { Test::new() .justfile( r#"