docs: remove duplicate validation section from CLAUDE.md
- Remove 'Validated Commands and Expected Outputs' section (lines 71-95) - This information is already covered in 'Validation Workflow' section - Reduces redundancy and improves document clarity Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: xgopilot <noreply@goplus.org>
This commit is contained in:
26
CLAUDE.md
26
CLAUDE.md
@@ -68,32 +68,6 @@ go test ./...
|
|||||||
|
|
||||||
**Important:** The `LLGO_ROOT` environment variable must be set to the repository root when running llgo commands during development.
|
**Important:** The `LLGO_ROOT` environment variable must be set to the repository root when running llgo commands during development.
|
||||||
|
|
||||||
### Validated Commands and Expected Outputs
|
|
||||||
|
|
||||||
#### Build Validation
|
|
||||||
- `go build -v ./...` - Successfully builds all packages without errors
|
|
||||||
- `go build -o llgo ./cmd/llgo` - Builds the llgo command
|
|
||||||
- `llgo version` - Output: `llgo v0.11.6-0.20251012014242-7e1abf1486b7 linux/amd64`
|
|
||||||
|
|
||||||
#### Code Quality Validation
|
|
||||||
- `go fmt ./...` - Runs successfully with no output (all files properly formatted)
|
|
||||||
- `go vet ./...` - Reports known issues in `ssa/type_cvt.go` and `cl/builtin_test.go`
|
|
||||||
|
|
||||||
#### Testing Validation
|
|
||||||
- `go test ./...` - Runs test suite (some tests require Python dependencies)
|
|
||||||
- `LLGO_ROOT=/workspace llgo run .` in `_demo/c/hello` - Output:
|
|
||||||
```
|
|
||||||
hello world by println
|
|
||||||
hello world by fmt.Println
|
|
||||||
Hello world by c.Printf
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Environment
|
|
||||||
- Go: 1.24.5 linux/amd64
|
|
||||||
- Operating System: Linux 5.4.0-164-generic
|
|
||||||
|
|
||||||
All failures or limitations are documented in the relevant sections above.
|
|
||||||
|
|
||||||
## Code Quality
|
## Code Quality
|
||||||
|
|
||||||
### Format code
|
### Format code
|
||||||
|
|||||||
Reference in New Issue
Block a user