File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44SIMD ?= 1
55
66ifeq ($(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
88else
9- PATCH_DEPS := lib/genai/.patched .cargo/config.toml
9+ PATCH_DEPS :=
1010endif
1111
1212build : $(PATCH_DEPS )
@@ -27,24 +27,18 @@ profile: release
2727
2828clean : clean-config
2929 cargo clean
30- rm -rf lib/ratatui-core lib/genai
30+ rm -rf lib/ratatui-core
3131
3232clean-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
3838lib/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" }' >> $@
You can’t perform that action at this time.
0 commit comments