1
1
mirror of https://github.com/casey/just.git synced 2024-11-26 00:24:22 +03:00

Fix spelling (#1463)

This commit is contained in:
Josh Soref 2022-12-30 15:36:08 -05:00 committed by GitHub
parent 157862d398
commit 50f3750842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 12 deletions

View File

@ -735,7 +735,7 @@ Changelog
### Misc ### Misc
- Build and upload release artifacts from GitHub Actions ([#581](https://github.com/casey/just/pull/581)) - 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)) - 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)) - 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 [0.5.5](https://github.com/casey/just/releases/tag/v0.5.5) - 2020-1-15

View File

@ -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 ### 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 relative to the invocation directory, or which operate on the current
directory. directory.
For exmaple, this `commit` recipe: For example, this `commit` recipe:
```just ```just
[no-cd] [no-cd]

View File

@ -188,7 +188,7 @@ variadic $VAR1_1 VAR2 VAR3 VAR4=("a") +$FLAGS='-q': foo2 braces
time: time:
@-date +"%H:%S" @-date +"%H:%S"
-cat /tmp/nonexistant_file.txt -cat /tmp/nonexistent_file.txt
@echo "finished" @echo "finished"
justwords: justwords:

View File

@ -91,7 +91,7 @@ impl<'src> Serialize for Expression<'src> {
Self::Call { thunk } => thunk.serialize(serializer), Self::Call { thunk } => thunk.serialize(serializer),
Self::Concatenation { lhs, rhs } => { Self::Concatenation { lhs, rhs } => {
let mut seq = serializer.serialize_seq(None)?; let mut seq = serializer.serialize_seq(None)?;
seq.serialize_element("concatinate")?; seq.serialize_element("concatenate")?;
seq.serialize_element(lhs)?; seq.serialize_element(lhs)?;
seq.serialize_element(rhs)?; seq.serialize_element(rhs)?;
seq.end() seq.end()

View File

@ -269,7 +269,7 @@ impl<'src> Lexer<'src> {
matches!(c, 'a'..='z' | 'A'..='Z' | '_') 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 { fn is_identifier_continue(c: char) -> bool {
if Self::is_identifier_start(c) { if Self::is_identifier_start(c) {
return true; return true;

View File

@ -992,7 +992,7 @@ mod tests {
} }
test! { test! {
name: alias_with_attributee, name: alias_with_attribute,
text: "[private]\nalias t := test", text: "[private]\nalias t := test",
tree: (justfile (alias t test)), tree: (justfile (alias t test)),
} }

View File

@ -251,7 +251,7 @@ test! {
} }
test! { test! {
name: assignment_parenthized_expression, name: assignment_parenthesized_expression,
justfile: " justfile: "
foo := ('foo') foo := ('foo')
", ",

View File

@ -85,7 +85,7 @@ fn continuations_with_echo_comments_true() {
} }
#[test] #[test]
fn dont_evalute_comments() { fn dont_evaluate_comments() {
Test::new() Test::new()
.justfile( .justfile(
" "

View File

@ -231,7 +231,7 @@ fn dependency_argument() {
"arguments": [ "arguments": [
"baz", "baz",
"baz", "baz",
["concatinate", "a", "b"], ["concatenate", "a", "b"],
["evaluate", "echo"], ["evaluate", "echo"],
["variable", "x"], ["variable", "x"],
["if", "==", "a", "b", "c", "d"], ["if", "==", "a", "b", "c", "d"],

View File

@ -19,7 +19,7 @@ fn windows_shell_setting() {
} }
#[test] #[test]
fn windows_powershell_setting_uses_powershell() { fn windows_powershell_setting_uses_powershell_set_shell() {
Test::new() Test::new()
.justfile( .justfile(
r#" r#"
@ -37,7 +37,7 @@ fn windows_powershell_setting_uses_powershell() {
} }
#[test] #[test]
fn windows_poweshell_setting_uses_powershell() { fn windows_powershell_setting_uses_powershell() {
Test::new() Test::new()
.justfile( .justfile(
r#" r#"