From 888c30e975726260e0af9b61baee6b17c51a06d5 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Wed, 2 Sep 2020 21:40:32 -0700 Subject: 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. --- ci/gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ci/gitlab-ci.yml') 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 -- cgit v1.2.1