Skip to content

Commit 43bcbc6

Browse files
committed
install reuse using pipx
1 parent 585869e commit 43bcbc6

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.docker/Dockerfile-php82

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get --yes --no-install-recommends install \
88
vim \
99
curl \
1010
build-essential \
11-
reuse \
11+
pipx \
1212
locales \
1313
zip unzip \
1414
libfreetype6-dev \

.reuse/dep5

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ Source: https://github.com/Art4/json-api-client
88
# Files: src/*
99
# Copyright: $YEAR $NAME <$CONTACT>
1010
# License: ...
11+
12+
Files: src/*
13+
Copyright: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
14+
License: GPL-3.0-or-later
15+
16+
Files: tests/*
17+
Copyright: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
18+
License: GPL-3.0-or-later

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ You can find the code coverage report in `.phpunit.cache/code-coverage/index.htm
155155

156156
The [REUSE Helper tool](https://reuse.software/dev/) makes licensing easy for humans and machines alike. It downloads the full license texts, adds copyright and license information to file headers, and contains a linter to identify problems.
157157

158+
Run this command to annotate all files:
159+
160+
``` bash
161+
composer run reuse-annotate
162+
```
163+
158164
## :heart: Credits
159165

160166
- [Artur Weigandt](https://github.com/Art4) [![Twitter](http://img.shields.io/badge/Twitter-@weigandtlabs-blue.svg)](https://twitter.com/weigandtlabs)

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"scripts": {
3434
"coverage": "phpunit --coverage-html=\".phpunit.cache/code-coverage\"",
3535
"phpstan": "phpstan analyze --memory-limit 512M --configuration .phpstan.neon",
36-
"phpunit": "phpunit"
36+
"phpunit": "phpunit",
37+
"reuse-annotate": "pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" --recursive --exclude-year --copyright-style=\"spdx\""
3738
},
3839
"config": {
3940
"sort-packages": true

0 commit comments

Comments
 (0)