-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (32 loc) · 871 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (32 loc) · 871 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
33
34
35
all:
cat Makefile
# Registry: default ./data (JANUS_DATA_DIR). Extra server flags: make dev ARGS='--port 8080'
# Raise fd limit when the shell allows it (no-op if capped); then start dashboard.
dev:
@bash -c 'ulimit -n 65536 2>/dev/null || true; exec uv run python server.py $(ARGS)'
validate:
uv run python mk/validate.py
ops-up:
uv run python mk/ops.py up
ops-down:
uv run python mk/ops.py down
swarm-up:
uv run python mk/swarm.py up
swarm-down:
uv run python mk/swarm.py down
clone:
bash mk/clone.sh
# Backfill github_url/gitlab_url from git remote origin. ARGS=--dry-run or --force
sync-repo-urls:
uv run python mk/sync_repo_urls.py $(ARGS)
new-project:
uv run python mk/new_project.py $(name)
autostart:
uv run python mk/autostart.py
sync:
uv sync
do:
@bash mk/do.sh "$(c)"
# Catch-all target to silence "No rule to make target" for arguments
%:
@: