Skip to content

Commit c9dfc98

Browse files
committed
chore: Add infer CLI
Signed-off-by: Eden Reich <[email protected]>
1 parent 398e3b6 commit c9dfc98

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.flox/env/manifest.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.flox/env/manifest.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,16 @@ openssl.version = "^3.6.0"
2424

2525
markdownlint-cli.pkg-path = "markdownlint-cli"
2626
markdownlint-cli.version = "0.45.0"
27+
28+
[profile]
29+
common = '''
30+
export PATH="$HOME/.local/bin:$PATH"
31+
'''
32+
33+
[hook]
34+
on-activate = '''
35+
if ! command -v infer &> /dev/null && [ ! -f "$HOME/.local/bin/infer" ]; then
36+
echo "Installing infer CLI..."
37+
curl -fsSL https://raw.githubusercontent.com/inference-gateway/cli/main/install.sh | bash -s -- --install-dir "$HOME/.local/bin"
38+
fi
39+
'''

0 commit comments

Comments
 (0)