-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathjustfile
More file actions
31 lines (24 loc) · 1.04 KB
/
justfile
File metadata and controls
31 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
setup-venv:
@echo "Run: source priv/dev/echo/.venv/bin/activate"
echo-server transport="stdio":
source priv/dev/echo/.venv/bin/activate && \
mcp run -t {{transport}} priv/dev/echo/index.py
calculator-server transport="stdio":
cd priv/dev/calculator && go build && ./calculator -t {{transport}} || cd -
[working-directory: 'priv/dev/upcase']
upcase-server:
ANUBIS_MCP_SERVER=true iex -S mix
[working-directory: 'priv/dev/ascii']
ascii-server:
iex -S mix phx.server
[working-directory: 'priv/dev/echo-elixir']
echo-ex-server transport="sse":
MCP_TRANSPORT={{transport}} {{ if transport == "sse" { "iex -S mix phx.server" } else { "mix run --no-halt" } }}
update-deps-examples:
for p in priv/dev/upcase priv/dev/ascii priv/dev/echo-elixir; do \
(cd "$p" && mix deps.update --all && mix compile --force --warnings-as-errors) || exit 1; \
done
compile-examples:
for p in priv/dev/upcase priv/dev/ascii priv/dev/echo-elixir; do \
(cd "$p" && mix compile --force --warnings-as-errors) || exit 1; \
done