- Set lthn-desktop as the default gui build target (port 9247) - Add core-demo GUI with Vite frontend (port 9245) - Configure core-gui on port 9246 to avoid conflicts - Update .gitignore for lthn-desktop and core-demo artifacts - Include lthn-desktop Angular frontend with Monaco editor and Claude panel - Add frontend.old directory preserving original lthn-desktop pages Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
version: '3'
|
|
|
|
includes:
|
|
gui: ./cmd/lthn-desktop/Taskfile.yml
|
|
cli: ./cmd/core/Taskfile.yml
|
|
demo: ./cmd/core-demo/Taskfile.yml
|
|
ide: ./cmd/core-gui/Taskfile.yml
|
|
|
|
tasks:
|
|
test:
|
|
desc: "Run all Go tests recursively for the entire project."
|
|
cmds:
|
|
- cmd: clear
|
|
platforms: [linux, darwin]
|
|
- cmd: cls
|
|
platforms: [windows]
|
|
- cmd: go test ./...
|
|
|
|
review:
|
|
desc: "Run CodeRabbit review to get feedback on the current changes."
|
|
cmds:
|
|
- coderabbit review --prompt-only
|
|
|
|
check:
|
|
desc: "Run a CodeRabbit review followed by the full test suite."
|
|
cmds:
|
|
- task: go:mod:tidy
|
|
- go test ./... # make sure the code compiles before asking coderabbit to review it
|
|
- task: review
|
|
|
|
go:mod:tidy:
|
|
summary: Runs `go mod tidy`
|
|
internal: true
|
|
cmds:
|
|
- go mod tidy
|
|
|
|
cov:
|
|
desc: "Generate coverage profile (coverage.txt)"
|
|
cmds:
|
|
- go test -coverprofile=coverage.txt ./...
|
|
|
|
cov-view:
|
|
desc: "Open the coverage report in your browser."
|
|
cmds:
|
|
- task: cov
|
|
- go tool cover -html=coverage.txt
|