fix: cleanup agent and add to ci

This commit is contained in:
Aarnav Tale
2025-06-16 11:38:13 -04:00
parent ab7587e7a9
commit 4961e83a9c
13 changed files with 160 additions and 758 deletions
+6
View File
@@ -17,6 +17,11 @@ description = "Builds the Go WebAssembly module for Tailscale SSH"
env = { GOOS = "js", GOARCH = "wasm" }
run = "go build -o app/hp_ssh.wasm ./cmd/hp_ssh"
[tasks.build-go-agent]
alias = ["agent"]
description = "Builds the Go agent for HostInfo"
run = "go build -o build/hp_agent ./cmd/hp_agent"
[tasks.generate-caddy-certs]
alias = ["mkcert"]
dir = "{{cwd}}/test/caddy/certs"
@@ -29,6 +34,7 @@ run = [
[tasks.ci]
description = "Runs the CI pipeline"
depends = ["build-go-wasm"]
depends_post = ["build-go-agent"]
run = [
"pnpm install",
"pnpm run build"