spec.md 1.4 KB

ADDED Requirements

Requirement: Distribute under WTFPL v2

The repository SHALL be distributed under the Do What The Fuck You Want To Public License, version 2 (WTFPL v2). A file named LICENSE (no extension) at the repository root MUST contain the WTFPL v2 body with a single Copyright (C) <year> kotoyuuko line as the sole copyright attribution. The license name (DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE) MUST NOT be changed.

Scenario: LICENSE file at repo root

  • WHEN a contributor inspects the repository root
  • THEN a file named LICENSE MUST be present and contain the text DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE and the clause You just DO WHAT THE FUCK YOU WANT TO.

Scenario: Single project copyright line

  • WHEN the LICENSE file is read
  • THEN it MUST contain exactly one Copyright (C) <year> kotoyuuko line and MUST NOT contain any other Copyright (C) line (including the upstream Sam Hocevar line)

Requirement: README references the license

The README.md SHALL contain a section identifying the license and linking to the LICENSE file so that readers and license scanners can discover the license without opening the file.

Scenario: License section exists

  • WHEN a user reads README.md
  • THEN it MUST contain a section with the heading ## License that names "WTFPL" and links to the LICENSE file via a relative markdown link