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
commit888c30e975726260e0af9b61baee6b17c51a06d5 (patch)
treec2787b15a1f0ae6246ae9fa38f6f76432d93232f /ci/gitlab-ci.yml
parent4686dbf5d79da730776374d7ef3471c3ed4915b5 (diff)
downloadnitrocli-888c30e975726260e0af9b61baee6b17c51a06d5.tar.gz
nitrocli-888c30e975726260e0af9b61baee6b17c51a06d5.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