
* pkg/proc: use golang.org/x/arch/x86/x86asm instead of rsc.io/x86/x86asm * pkg/dwarf: migrate to github.com/pkg/profile from github.com/davecheney/profile * scripts: keep script go files from being considered for the build scripts/gen-*.go files are scripts for generating documentation files and don't follow the typical Go package layout. Expected usage is like go run scripts/gen-cli-docs.go * vendor: update vendored packages There were many changes in delve, and go tool chains since last vendored package update. I just rerun godpes from scratch. $ rm vendor/* $ rm Godeps/Godeps.json $ go list ./... | grep -v /vendor/ | grep -v /scripts/ | go get -u -t $ go get -u github.com/mattn/go-colorable $ go get -u github.com/mattn/go-isatty $ go list ./... | grep -v /vendor/ | grep -v /scripts/ | godeps save
26 lines
439 B
Go
26 lines
439 B
Go
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"bufio"
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/derekparker/delve/pkg/terminal"
|
|
)
|
|
|
|
func main() {
|
|
fh, err := os.Create(os.ExpandEnv("$GOPATH/src/github.com/derekparker/delve/Documentation/cli/README.md"))
|
|
if err != nil {
|
|
log.Fatalf("could not create README.md: %v", err)
|
|
}
|
|
defer fh.Close()
|
|
|
|
w := bufio.NewWriter(fh)
|
|
defer w.Flush()
|
|
|
|
commands := terminal.DebugCommands(nil)
|
|
commands.WriteMarkdown(w)
|
|
}
|