-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
79 lines (58 loc) · 2.64 KB
/
Copy pathJustfile
File metadata and controls
79 lines (58 loc) · 2.64 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# SPDX-License-Identifier: MPL-2.0
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <jonathan.jewell@open.ac.uk>
#
# claude-integrations - Unified Claude browser/service integrations monorepo.
# List available recipes
default:
@just --list
# --- Firefox LSP (Elixir) ---
# Build the Firefox LSP component
build-firefox-lsp:
cd firefox-lsp && mix deps.get && mix compile
# Run Firefox LSP tests
test-firefox-lsp:
cd firefox-lsp && mix test
# --- Firefox MCP (Deno) ---
# Build the Firefox MCP component
build-firefox-mcp:
cd firefox-mcp && deno cache src/main.ts 2>/dev/null || echo "No Deno entrypoint cached"
# Run Firefox MCP tests
test-firefox-mcp:
cd firefox-mcp && deno test 2>/dev/null || echo "No Deno tests configured"
# --- Gecko Browser Extension ---
# Build the Gecko browser extension
build-gecko-extension:
@echo "Gecko extension is pure JS/WebExtensions - no build step required."
@echo "Load as temporary add-on in about:debugging"
# Lint the Gecko browser extension
lint-gecko-extension:
cd gecko-browser-extension && web-ext lint 2>/dev/null || echo "Install web-ext: npm i -g web-ext"
# --- GitLab Bridge (ReScript/Deno) ---
# Build the GitLab Bridge component
build-gitlab-bridge:
cd gitlab-bridge && deno cache src/main.ts 2>/dev/null || echo "No Deno entrypoint cached"
# Run GitLab Bridge tests
test-gitlab-bridge:
cd gitlab-bridge && deno test 2>/dev/null || echo "No Deno tests configured"
# --- Mozilla Extension ---
# Build the Mozilla extension
build-mozilla-extension:
@echo "Mozilla extension is pure JS/WebExtensions - no build step required."
@echo "Load as temporary add-on in about:debugging"
# Lint the Mozilla extension
lint-mozilla-extension:
cd mozilla-extension && web-ext lint 2>/dev/null || echo "Install web-ext: npm i -g web-ext"
# --- Aggregate Recipes ---
# Build all components
build-all: build-firefox-lsp build-firefox-mcp build-gecko-extension build-gitlab-bridge build-mozilla-extension
# Run all tests
test-all: test-firefox-lsp test-firefox-mcp test-gitlab-bridge
# Lint all lintable components
lint-all: lint-gecko-extension lint-mozilla-extension
# Show status of all components
status:
@echo "=== Firefox LSP ===" && ls firefox-lsp/mix.exs 2>/dev/null && echo "OK" || echo "MISSING"
@echo "=== Firefox MCP ===" && ls firefox-mcp/deno.json 2>/dev/null && echo "OK" || echo "MISSING"
@echo "=== Gecko Extension ===" && ls gecko-browser-extension/manifest.json 2>/dev/null && echo "OK" || echo "MISSING"
@echo "=== GitLab Bridge ===" && ls gitlab-bridge/deno.json 2>/dev/null && echo "OK" || echo "MISSING"
@echo "=== Mozilla Extension ===" && ls mozilla-extension/src/ 2>/dev/null && echo "OK" || echo "MISSING"