Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

License change #31

Merged
merged 5 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,16 @@ jobs:
with:
command: clippy
args: -- -D warnings

license:
name: License
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install licensure
- run: ~/.cargo/bin/licensure --project --check
41 changes: 41 additions & 0 deletions .licensure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
change_in_place: true
excludes:
- \.gitignore
- .*lock
- \.git/.*
- \.licensure\.yml
- README.*
- LICENSE.*
- .*\.(md|rst|txt)
licenses:
- files: "(^.*\\.rs$|^.*\\.lua$|^.*\\.gd$)"
ident: MPL-2.0
authors:
- name: setzer22 and contributors
template: "Copyright (C) [year] [name of author]\n\n

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/."
comments:
- columns: 70
extensions:
- rs
commenter:
type: line
comment_char: "//"
trailing_lines: 1
- columns: 70
extensions:
- lua
commenter:
type: line
comment_char: "--"
trailing_lines: 1
- columns: 70
extensions:
- gd
commenter:
type: line
comment_char: "#"
trailing_lines: 1
Loading