From 4ecd54844b218d6df7c1a658849f5b843811d9f6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 5 Feb 2024 00:30:11 +0000 Subject: [PATCH] Use an inclusive .gitignore file --- .gitignore | 42 +++++++----------------------------------- build.yaml | 5 +++++ 2 files changed, 12 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index ce74cdf..58ac6c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,40 +1,12 @@ # Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs. -.editorconfig -.env -.gitattributes -vendor/ -web/.csslintrc -web/.eslintignore -web/.eslintrc.json -web/.ht.router.php -web/.htaccess -web/INSTALL.txt -web/README.md -web/autoload.php -web/core/ -web/example.gitignore -web/index.php -web/modules/README.txt -web/modules/contrib/ -web/profiles/README.txt -web/robots.txt -web/sites/*/files/ -web/sites/*/private/ -web/sites/*/services*.yml -web/sites/*/settings*.php -web/sites/README.txt -web/sites/default/default.services.yml -web/sites/default/default.settings.php -web/sites/development.services.yml -web/sites/example.settings.local.php -web/sites/example.sites.php -web/sites/simpletest/ -web/themes/README.txt -web/themes/contrib/ -web/update.php -web/web.config +* +!*/ +!/.env.example +!/.gitignore +!/build.yaml -.dir-env/ +!/web/*/custom/** +!/_lessons/** diff --git a/build.yaml b/build.yaml index 419e152..23ef6c0 100644 --- a/build.yaml +++ b/build.yaml @@ -8,5 +8,10 @@ flake: - php82 - php82Packages.composer +git: + ignore: + - '!/_lessons/**' + experimental: createTmuxStartupFile: true + createInclusiveGitIgnoreFile: true