]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : change deps.sh xxd files to string literals (#5221)
authorJohnnyB <redacted>
Tue, 30 Jan 2024 18:15:05 +0000 (12:15 -0600)
committerGitHub <redacted>
Tue, 30 Jan 2024 18:15:05 +0000 (20:15 +0200)
commit4003be0e5feef320f3707786f22722b73cff9356
tree5da952c3a524db134f7ec8fefc534a880c28f927
parentfea4fd4ba7f6b754ac795387b275e1a014a77bde
server : change deps.sh xxd files to string literals (#5221)

* Changed ugly xxd to literals.

HPP files are much more readable as multiline literals rather than hex arrays.

* Dashes in literal variable names.

Replace . and - with _ in file names -> variable names.

* Comment on removing xxd.

XXD-> string literals

* XXD to string literals.

Replaced these unreadable headers with string literal versions using new deps.sh.
examples/server/completion.js.hpp
examples/server/deps.sh
examples/server/index.html.hpp
examples/server/index.js.hpp
examples/server/json-schema-to-grammar.mjs.hpp