Skip to content

Commit e988e53

Browse files
authored
Merge pull request #31233 from VasanthakumarV/codebook
2 parents f339c73 + f772431 commit e988e53

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
MACOSX_SDK_VERSION:
2+
- "11.0"

recipes/codebook-lsp/recipe.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
context:
2+
version: "0.3.14"
3+
4+
package:
5+
name: codebook-lsp
6+
version: ${{ version }}
7+
8+
source:
9+
url: https://github.com/blopker/codebook/archive/refs/tags/v${{ version }}.tar.gz
10+
sha256: ae213ee0085c61dfc3ea25737e7bd26b4d0a2b127f662e0c516dc6f57b158397
11+
12+
build:
13+
number: 0
14+
script:
15+
env:
16+
CARGO_PROFILE_RELEASE_STRIP: symbols
17+
CARGO_PROFILE_RELEASE_LTO: fat
18+
content:
19+
- if: unix
20+
then: |
21+
export CFLAGS="${CFLAGS} -D_BSD_SOURCE"
22+
cargo-bundle-licenses --format yaml --output ${SRC_DIR}/THIRDPARTY.yml
23+
cargo auditable install --locked --no-track --path ./crates/codebook-lsp --root ${PREFIX}
24+
else: |
25+
cargo-bundle-licenses --format yaml --output %SRC_DIR%\THIRDPARTY.yml
26+
cargo auditable install --locked --no-track --path .\crates\codebook-lsp --root %LIBRARY_PREFIX%
27+
28+
requirements:
29+
build:
30+
- ${{ compiler('rust') }}
31+
- ${{ stdlib('c') }}
32+
- ${{ compiler('cxx') }}
33+
- cargo-bundle-licenses
34+
- cargo-auditable
35+
36+
tests:
37+
- script:
38+
- codebook-lsp --version
39+
40+
about:
41+
homepage: https://github.com/blopker/codebook
42+
license: MIT
43+
license_file:
44+
- LICENSE
45+
- THIRDPARTY.yml
46+
description: "Spell Checker for Code"
47+
summary: "Spell Checker for Code"
48+
49+
extra:
50+
recipe-maintainers:
51+
- VasanthakumarV

0 commit comments

Comments
 (0)