Skip to content

Commit 549760b

Browse files
committed
fix: Remove genai patching from Makefile (now using git dep)
1 parent ee10f9b commit 549760b

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
SIMD ?= 1
55

66
ifeq ($(SIMD),1)
7-
PATCH_DEPS := lib/ratatui-core/.patched lib/genai/.patched .cargo/config.toml
7+
PATCH_DEPS := lib/ratatui-core/.patched .cargo/config.toml
88
else
9-
PATCH_DEPS := lib/genai/.patched .cargo/config.toml
9+
PATCH_DEPS :=
1010
endif
1111

1212
build: $(PATCH_DEPS)
@@ -27,24 +27,18 @@ profile: release
2727

2828
clean: clean-config
2929
cargo clean
30-
rm -rf lib/ratatui-core lib/genai
30+
rm -rf lib/ratatui-core
3131

3232
clean-config:
3333
rm -f .cargo/config.toml
3434
rmdir .cargo 2>/dev/null || true
3535

36-
patch: lib/ratatui-core/.patched lib/genai/.patched .cargo/config.toml
36+
patch: lib/ratatui-core/.patched .cargo/config.toml
3737

3838
lib/ratatui-core/.patched: lib/patches/ratatui-core/*
3939
./lib/patches/ratatui-core/apply.sh
4040

41-
lib/genai/.patched: lib/patches/genai/*
42-
./lib/patches/genai/apply.sh
43-
44-
.cargo/config.toml: lib/ratatui-core/.patched lib/genai/.patched
41+
.cargo/config.toml: lib/ratatui-core/.patched
4542
mkdir -p .cargo
4643
echo '[patch.crates-io]' > $@
47-
ifeq ($(SIMD),1)
4844
echo 'ratatui-core = { path = "lib/ratatui-core" }' >> $@
49-
endif
50-
echo 'genai = { path = "lib/genai" }' >> $@

0 commit comments

Comments
 (0)