mirror of
https://github.com/go-task/task.git
synced 2026-04-26 20:02:40 +02:00
37d6b7155f
Rename the Taskfile/task option from `gitignore` to `use_gitignore` to avoid ambiguity (could be read as "ignore git" vs "use .gitignore"). Consistent with Biome's `useIgnoreFile` naming convention.
26 lines
447 B
YAML
26 lines
447 B
YAML
version: '3'
|
|
|
|
use_gitignore: true
|
|
|
|
tasks:
|
|
build:
|
|
cmds:
|
|
- cp ./source.txt ./generated.txt
|
|
sources:
|
|
- ./*.txt
|
|
- exclude: ./generated.txt
|
|
generates:
|
|
- ./generated.txt
|
|
method: checksum
|
|
|
|
build-no-use_gitignore:
|
|
use_gitignore: false
|
|
cmds:
|
|
- cp ./source.txt ./generated.txt
|
|
sources:
|
|
- ./*.txt
|
|
- exclude: ./generated.txt
|
|
generates:
|
|
- ./generated.txt
|
|
method: checksum
|