mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Check license generation for every PR to avoid license-less crate additions (#10033)
Also fix `anthropic` crate and make it AGPL-licensed, as it's used in the AGPL-licensed collab part only. Release Notes: - N/A
This commit is contained in:
parent
bd7fdcfb18
commit
5602593089
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -54,6 +54,9 @@ jobs:
|
||||
- name: Check unused dependencies
|
||||
uses: bnjbvr/cargo-machete@main
|
||||
|
||||
- name: Check license generation
|
||||
run: script/generate-licenses /tmp/zed_licenses_output
|
||||
|
||||
- name: Ensure fresh merge
|
||||
shell: bash -euxo pipefail {0}
|
||||
run: |
|
||||
|
@ -2,8 +2,8 @@
|
||||
name = "anthropic"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
publish = false
|
||||
license = "AGPL-3.0-or-later"
|
||||
|
||||
[lib]
|
||||
path = "src/anthropic.rs"
|
||||
|
1
crates/anthropic/LICENSE-AGPL
Symbolic link
1
crates/anthropic/LICENSE-AGPL
Symbolic link
@ -0,0 +1 @@
|
||||
../../LICENSE-AGPL
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
OUTPUT_FILE=$(pwd)/assets/licenses.md
|
||||
OUTPUT_FILE="${1:-$(pwd)/assets/licenses.md}"
|
||||
|
||||
> $OUTPUT_FILE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user