Skip to content
Snippets Groups Projects
Commit c56ed6aa authored by jurgenhaas's avatar jurgenhaas
Browse files

Add some patterns to gitignore

parent ec2fc7c2
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,11 @@ class Handler {
$content = array_merge_recursive($content, $options);
$jsonFile = new JsonFile($projectRoot . '/composer.json');
$jsonFile->write($content);
// Add some patterns to .gitignore.
foreach (['/vendor/', '/web/', '.env'] as $item) {
exec('git ignore ' . $item);
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment