mirror of
https://github.com/casey/just.git
synced 2024-11-23 02:44:56 +03:00
Document set working-directory
(#2288)
This commit is contained in:
parent
c2207a906b
commit
cf4c7260cf
17
README.md
17
README.md
@ -772,6 +772,23 @@ $ just foo
|
||||
/subdir
|
||||
```
|
||||
|
||||
You can override working directory with `set working-directory := '…'`, whose value
|
||||
is relative to the default working directory.
|
||||
|
||||
```just
|
||||
set working-directory := 'bar'
|
||||
|
||||
@foo:
|
||||
pwd
|
||||
```
|
||||
|
||||
```sh
|
||||
$ pwd
|
||||
/home/bob
|
||||
$ just foo
|
||||
/home/bob/bar
|
||||
```
|
||||
|
||||
### Aliases
|
||||
|
||||
Aliases allow recipes to be invoked on the command line with alternative names:
|
||||
|
Loading…
Reference in New Issue
Block a user