mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
feat(gitignore): add additional ignored paths
This commit is contained in:
parent
696aa5d617
commit
02774b820b
|
@ -60,5 +60,19 @@ final class Config
|
||||||
#[Assert\NotBlank]
|
#[Assert\NotBlank]
|
||||||
public ?string $projectRoot;
|
public ?string $projectRoot;
|
||||||
|
|
||||||
|
#[Assert\Collection(
|
||||||
|
allowExtraFields: false,
|
||||||
|
fields: [
|
||||||
|
'ignore' => new Assert\Optional([
|
||||||
|
new Assert\Type('array'),
|
||||||
|
new Assert\Count(['min' => 1]),
|
||||||
|
new Assert\All([
|
||||||
|
new Assert\Type('string'),
|
||||||
|
])
|
||||||
|
])
|
||||||
|
]
|
||||||
|
)]
|
||||||
|
public array $git;
|
||||||
|
|
||||||
public array $php;
|
public array $php;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,3 +10,7 @@ npm-debug.log*
|
||||||
pnpm-debug.log*
|
pnpm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
|
{% for path in git.ignore %}
|
||||||
|
{{ path }}
|
||||||
|
{% endfor %}
|
||||||
|
|
|
@ -40,3 +40,7 @@ vendor/
|
||||||
.env
|
.env
|
||||||
docker-compose.override.yaml
|
docker-compose.override.yaml
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% for path in git.ignore %}
|
||||||
|
{{ path }}
|
||||||
|
{% endfor %}
|
||||||
|
|
|
@ -7,3 +7,7 @@ node_modules
|
||||||
.env
|
.env
|
||||||
docker-compose.override.yaml
|
docker-compose.override.yaml
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% for path in git.ignore %}
|
||||||
|
{{ path }}
|
||||||
|
{% endfor %}
|
||||||
|
|
|
@ -43,3 +43,7 @@ override.tf.json
|
||||||
terraform.rc
|
terraform.rc
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/terraform
|
# End of https://www.toptal.com/developers/gitignore/api/terraform
|
||||||
|
|
||||||
|
{% for path in git.ignore %}
|
||||||
|
{{ path }}
|
||||||
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue