forked from github/gitignore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Drupal.gitignore with upstream conventions: prefix /web for dr…
…upal code; remove deprecated simpletest directory; allow project composer.json|lock at root; add /vendor, composer, robo, drush and drupal scripts to root
- Loading branch information
Luís Algarvio
committed
Apr 28, 2020
1 parent
2a4de26
commit e448b41
Showing
1 changed file
with
50 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,62 @@ | ||
# gitignore template for Drupal 8 projects | ||
# | ||
# earlier versions of Drupal are tracked in `community/PHP/` | ||
# | ||
# follows official upstream conventions: | ||
# https://www.drupal.org/docs/develop/using-composer | ||
|
||
# Ignore configuration files that may contain sensitive information | ||
/sites/*/*settings*.php | ||
/sites/*/*services*.yml | ||
/web/sites/*/*settings*.php | ||
/web/sites/*/*services*.yml | ||
|
||
# Ignore paths that may contain user-generated content | ||
/sites/*/files | ||
/sites/*/public | ||
/sites/*/private | ||
/sites/*/files-public | ||
/sites/*/files-private | ||
/web/sites/*/files | ||
/web/sites/*/public | ||
/web/sites/*/private | ||
/web/sites/*/files-public | ||
/web/sites/*/files-private | ||
|
||
# Ignore paths that may contain temporary files | ||
/sites/*/translations | ||
/sites/*/tmp | ||
/sites/*/cache | ||
|
||
# Ignore testing related files | ||
/sites/simpletest | ||
/web/sites/*/translations | ||
/web/sites/*/tmp | ||
/web/sites/*/cache | ||
|
||
# Ignore drupal core (if not versioning drupal sources) | ||
/core | ||
/web/vendor | ||
/web/core | ||
/web/modules/README.txt | ||
/web/profiles/README.txt | ||
/web/sites/development.services.yml | ||
/web/sites/example.settings.local.php | ||
/web/sites/example.sites.php | ||
/web/sites/README.txt | ||
/web/themes/README.txt | ||
/web/.csslintrc | ||
/web/.editorconfig | ||
/web/.eslintignore | ||
/web/.eslintrc.json | ||
/web/.gitattributes | ||
/web/.htaccess | ||
/web/.ht.router.php | ||
/web/autoload.php | ||
/web/composer.json | ||
/web/composer.lock | ||
/web/example.gitignore | ||
/web/index.php | ||
/web/INSTALL.txt | ||
/web/LICENSE.txt | ||
/web/README.txt | ||
/web/robots.txt | ||
/web/update.php | ||
/web/web.config | ||
|
||
# Ignore vendor dependencies and scripts | ||
/vendor | ||
/modules/README.txt | ||
/profiles/README.txt | ||
/themes/README.txt | ||
/sites/README.txt | ||
/sites/example.sites.php | ||
/sites/example.settings.local.php | ||
/sites/development.services.yml | ||
/.csslintrc | ||
/.editorconfig | ||
/.eslintignore | ||
/.eslintrc.json | ||
/.gitattributes | ||
/.ht.router.php | ||
/.htaccess | ||
/autoload.php | ||
/example.gitignore | ||
/index.php | ||
/INSTALL.txt | ||
/LICENSE.txt | ||
/README.txt | ||
/robots.txt | ||
/update.php | ||
/web.config | ||
/composer.phar | ||
/composer | ||
/robo.phar | ||
/robo | ||
/drush.phar | ||
/drush | ||
/drupal.phar | ||
/drupal |