mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
docs: schema: add tasks.task.method (#2718)
This commit is contained in:
@@ -543,6 +543,21 @@ tasks:
|
||||
- go build ./...
|
||||
```
|
||||
|
||||
#### `method`
|
||||
|
||||
- **Type**: `string`
|
||||
- **Default**: `checksum`
|
||||
- **Options**: `checksum`, `timestamp`, `none`
|
||||
- **Description**: Method for checking if the task is up-to-date. Refer to the `method` root property for details.
|
||||
|
||||
```yaml
|
||||
tasks:
|
||||
build:
|
||||
sources:
|
||||
- go.mod
|
||||
method: timestamp
|
||||
```
|
||||
|
||||
#### `sources`
|
||||
|
||||
- **Type**: `[]string` or `[]Glob`
|
||||
|
||||
Reference in New Issue
Block a user