mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-12-22 16:16:10 +01:00
Prevent unnecessary files from distribution (#92)
Use .gitattributes to tell git what to ignore during exports. This will prevent GitHub from adding those files to an archive. Composer will use the GitHub archive as distribution while downloading. This prevents none necessary files on production systems. This also reduces file size of archive and should save disk space and other resources.
This commit is contained in:
parent
50300d5cb2
commit
208928e0e9
3 changed files with 47 additions and 1 deletions
11
.gitattributes
vendored
Normal file
11
.gitattributes
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
Tests export-ignore
|
||||
.github export-ignore
|
||||
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
|
||||
dependency-checker.json export-ignore
|
||||
ecs.php export-ignore
|
||||
phpcs.xml.dist export-ignore
|
||||
phpstan.neon export-ignore
|
||||
phpunit.xml.dist export-ignore
|
35
Documentation/Changelog/1.4.0.rst
Normal file
35
Documentation/Changelog/1.4.0.rst
Normal file
|
@ -0,0 +1,35 @@
|
|||
1.4.0
|
||||
=====
|
||||
|
||||
Breaking
|
||||
--------
|
||||
|
||||
Nothing
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
Nothing
|
||||
|
||||
Fixes
|
||||
-----
|
||||
|
||||
Nothing
|
||||
|
||||
Tasks
|
||||
-----
|
||||
|
||||
* Prevent unnecessary files from distribution
|
||||
|
||||
Use ``.gitattributes`` to tell git what to ignore during exports.
|
||||
This will prevent GitHub from adding those files to an archive.
|
||||
|
||||
Composer will use the GitHub archive as distribution while downloading.
|
||||
|
||||
This prevents none necessary files on production systems.
|
||||
This also reduces file size of archive and should save disk space and other resources.
|
||||
|
||||
Deprecation
|
||||
-----------
|
||||
|
||||
Nothing
|
|
@ -11,7 +11,7 @@ $EM_CONF[$_EXTKEY] = [
|
|||
'author' => 'Daniel Siepmann',
|
||||
'author_email' => 'coding@daniel-siepmann.de',
|
||||
'author_company' => '',
|
||||
'version' => '1.3.0',
|
||||
'version' => '1.4.0',
|
||||
'constraints' => [
|
||||
'depends' => [
|
||||
'core' => '',
|
||||
|
|
Loading…
Reference in a new issue