-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 870 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 870 Bytes
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
32
.PHONY: build up down logs seed seed-financial restart test test-elixir test-python
build:
docker compose build --build-arg BUILD_NUMBER=$$(git rev-list --count HEAD 2>/dev/null || echo 0)
up: build
docker compose up -d
down:
docker compose down
logs:
docker compose logs -f alexclaw
restart:
docker compose restart alexclaw
seed:
docker compose exec alexclaw bin/alex_claw rpc \
'Path.wildcard("lib/alex_claw-*/priv/repo/seeds/example_workflows.exs") |> hd() |> Code.eval_file()'
seed-financial:
docker compose exec alexclaw bin/alex_claw rpc \
'Path.wildcard("lib/alex_claw-*/priv/repo/seeds/financial_workflows.exs") |> hd() |> Code.eval_file()'
test: test-elixir test-python
test-elixir:
docker compose -f docker-compose.test.yml run --rm --build test-elixir
test-python:
docker compose -f docker-compose.test.yml run --rm --build test-python