Ignore files from showing up in a release (#5111)

* moved email css files to template directory
* prevent developer files from showing up in a release
This commit is contained in:
Kevin Papst
2024-10-12 23:45:13 +02:00
committed by GitHub
parent e6d5a720bf
commit 255c7d77d6
7 changed files with 24 additions and 8 deletions

18
.gitattributes vendored Normal file
View File

@@ -0,0 +1,18 @@
.docker export-ignore
.github export-ignore
assets export-ignore
tests export-ignore
.codecov.yml export-ignore
.editorconfig export-ignore
.eslintrc.js export-ignore
.gitattributes export-ignore
.gitignore export-ignore
php-cs-fixer.dist.php export-ignore
babel.config.js export-ignore
package.json export-ignore
php-cs-fixer.sh export-ignore
phpstan.neon export-ignore
phpstan.sh export-ignore
phpunit.xml.dist export-ignore
webpack.config.js export-ignore
yarn.lock export-ignore

View File

@@ -1,15 +1,16 @@
# Contributing
Kimai is an open source project, contributions made by the community are welcome.
Kimai is an open source project, contributions made by the community are welcome.
But we can only accept contributions with a signed CLA (Contributor License Agreement) to prevent issues in the future (you will see a link when opening a PR).
Send your ideas, code reviews, pull requests and feature requests to help to improve this project.
## Pull request rules
- Make your changes in a new git branch, based on the latest code in `main`
- Apply our code-style by running `composer codestyle-fix`
- Run the static code analysis with `composer phpstan`
- Verify everything still works with `composer tests-unit` and `composer tests-integration`
- Verify everything still works with `composer tests-unit`
- Add tests for your changes
- When sending in a PR, you must accept that your contributions/code will be published under MIT license (see the [LICENSE](LICENSE) file as well), otherwise your PR will be closed
- If one of the PR checks/builds fails, fix it before asking for a review
Further documentation can be found in the [developer documentation](https://www.kimai.org/documentation/developers.html).

View File

@@ -7,5 +7,4 @@ As announced in the [README](README.md) security fixes will only be added to the
| main branch | :white_check_mark: |
| older releases | :x: |
You find all information in our [Bughunter documentation](https://www.kimai.org/documentation/bughunter.html).

0
assets/.gitignore vendored
View File

View File

@@ -5,7 +5,5 @@ twig:
- 'form/vertical.html.twig'
exception_controller: null
paths:
# used in templates/emails/layout.html.twig
'%kernel.project_dir%/assets/css': css
'%kernel.project_dir%/templates/bundles/TablerBundle': theme
'%kernel.project_dir%/vendor/kevinpapst/tabler-bundle/templates': theme

View File

@@ -1,4 +1,4 @@
{% apply inky_to_html|inline_css(source('@css/emails.css')) %}
{% apply inky_to_html|inline_css(source('emails/css/emails.css')) %}
<spacer size="32"></spacer>