summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-09-02 21:40:32 -0700
committerDaniel Mueller <deso@posteo.net>2020-09-02 21:40:32 -0700
commit79346022d01a73a8987298d82a2f0b749b63ac50 (patch)
treeacd4d1a3aff70c79ce2c50064d0462a61f3e35d6 /ci
parentf6348b20ea2ab1d3fe936fc07ad588efefc11708 (diff)
downloadnitrocli-79346022d01a73a8987298d82a2f0b749b63ac50.tar.gz
nitrocli-79346022d01a73a8987298d82a2f0b749b63ac50.tar.bz2
Adjust copyright & license specification to comply with REUSE 3.0
With this change we switch to using a REUSE compliant way of specifying the copyright & license of the program. To be fully in conformance we also add additional license specifications for the remaining files in the project. Lastly, a new CI pipeline rule takes care of verifying compliance on an ongoing basis.
Diffstat (limited to 'ci')
-rw-r--r--ci/gitlab-ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index 8536472..79d0317 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -1,3 +1,6 @@
+# Copyright (C) 2020 The Nitrocli Developers
+# SPDX-License-Identifier: CC0-1.0
+
# The documentation for the contents of this file can be found at:
# https://docs.gitlab.com/ce/ci/yaml/README.html
@@ -20,6 +23,13 @@ lint:clippy:
- rustup component add clippy
- cargo clippy --all-targets --all-features -- -D warnings
+lint:reuse:
+ script:
+ - apt-get update
+ - apt-get install --assume-yes python3-pip
+ - pip3 install reuse
+ - reuse lint
+
format:rustfmt:
script:
- rustup component add rustfmt