linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.23k stars 95 forks source link

Standardize copyright headers. #567

Closed xStrom closed 4 months ago

xStrom commented 4 months ago

The Linebender standard for copyright headers was decided last year in kurbo#207 as the following:

// Copyright <year of file creation> the <Project> Authors
// SPDX-License-Identifier: Apache-2.0 OR MIT

This PR converts all file headers to this standard form.

xStrom commented 4 months ago

~The nightly compiler fails in CI are unrelated to this PR and tracked separately in #566. Thus these CI errors can be safely ignored for the purposes of this PR.~ Rebased on the new CI script which doesn't fail.

xStrom commented 4 months ago

I also added a copyright header check to CI. It's essentially a copy of the check from vello#463.