-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy path.goreleaser.yml
More file actions
95 lines (82 loc) · 2.41 KB
/
.goreleaser.yml
File metadata and controls
95 lines (82 loc) · 2.41 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: 2
project_name: openclaw-dashboard
before:
hooks:
- go mod tidy
- go test -race ./...
builds:
- main: ./cmd/openclaw-dashboard
binary: openclaw-dashboard
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/mudrii/openclaw-dashboard.BuildVersion={{ .Version }}
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
files:
- README.md
- LICENSE
- VERSION
- docs/CONFIGURATION.md
- assets/runtime/refresh.sh
- install.sh
- uninstall.sh
- assets/runtime/config.json
- assets/runtime/themes.json
- web/index.html
- examples/config.minimal.json
- examples/config.full.json
checksum:
name_template: checksums-sha256.txt
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
brews:
- repository:
owner: mudrii
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
homepage: "https://github.com/mudrii/openclaw-dashboard"
description: "Real-time monitoring dashboard for OpenClaw AI gateway"
license: "MIT"
install: |
bin.install "openclaw-dashboard"
pkgshare.install "assets/runtime/refresh.sh"
pkgshare.install "assets/runtime/themes.json"
pkgshare.install "assets/runtime/config.json"
pkgshare.install "VERSION"
pkgshare.install "docs/CONFIGURATION.md"
pkgshare.install "install.sh"
pkgshare.install "uninstall.sh"
pkgshare.install "web/index.html"
pkgshare.install "examples"
caveats: |
openclaw-dashboard is installed. The first run seeds a writable runtime directory at:
~/.openclaw/dashboard
To get started:
1. Generate data.json (requires OpenClaw installed at ~/.openclaw):
openclaw-dashboard --refresh
2. Start the dashboard server:
openclaw-dashboard
3. Open http://localhost:8080 in your browser.
Configuration:
Edit ~/.openclaw/dashboard/config.json to customise settings.
Example configs are installed under:
#{pkgshare}/examples
Set OPENCLAW_HOME to point to a non-default OpenClaw install path.
test: |
assert_match version.to_s, shell_output("#{bin}/openclaw-dashboard --version")