aboutsummaryrefslogtreecommitdiff
path: root/ci/gitlab-ci.yml
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
commit47fbed75048ab03355f839015664e12757b5540a (patch)
tree1b72ba66ee5df29b4aae7d539b21d509dea62909 /ci/gitlab-ci.yml
parentf28112eae5e6e0f788e6a9c12afcb6240f7c12b1 (diff)
downloadnitrocli-47fbed75048ab03355f839015664e12757b5540a.tar.gz
nitrocli-47fbed75048ab03355f839015664e12757b5540a.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/gitlab-ci.yml')
-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