Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate part of features to Chinese based on commit c87909c #1208

Merged
merged 2 commits into from
Jun 1, 2022

Conversation

hustcer
Copy link
Contributor

@hustcer hustcer commented Jun 1, 2022

Translate part of features to Chinese
It's really a long chapter

@casey casey enabled auto-merge (squash) June 1, 2022 06:22
@casey casey merged commit 61a5d02 into casey:master Jun 1, 2022
@casey
Copy link
Owner

casey commented Jun 1, 2022

真牛

@hustcer hustcer deleted the feature/i18n branch June 1, 2022 07:21
@hustcer
Copy link
Contributor Author

hustcer commented Jun 1, 2022

invocation_directory() - Retrieves the absolute path to the current directory when just was invoked, before just changed it (chdir'd) prior to executing commands.

I'm not quite sure about this part "before just changed it (chdir'd) prior to executing commands" can you explain it with more detail?

@casey
Copy link
Owner

casey commented Jun 1, 2022

I'm not quite sure about this part "before just changed it (chdir'd) prior to executing commands" can you explain it with more detail?

Yeah, definitely. So initially, the user invokes just in some directory, let's say ~/src/project/foo. That's the initial working directory. Then just looks for the justfile, let's say it's in ~/src/project/justfile, and changes the working directory to the directory that contains the justfile, in this case ~/src/project. invocation_directory() returns the directory that just was invoked in, in this case ~/src/project/foo`.

@hustcer
Copy link
Contributor Author

hustcer commented Jun 1, 2022

Ah, I see, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants