diff --git a/Conscript b/Conscript index 2653054..9e3ae87 100644 --- a/Conscript +++ b/Conscript @@ -17,4 +17,4 @@ Import( 'mozIdlIncludePath', ); -$cons->KoExt("koinstall"); +$cons->KoExt("koinstall -i golib"); diff --git a/README.md b/README.md index 9f9e070..d3e89b3 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,17 @@ from Komodo 9. - Code Outline (for Code Browser and Sections List in IDE) - Jump to definition via [godef](http://godoc.org/code.google.com/p/rog-go/exp/cmd/godef) +# Requirements + +- Install 'go' and 'gocode', ensure are on the PATH configured in your overall + or project-specific Komodo settings +- For code completion and go to definition ensure 'gocode' and 'godef' are on + your paths as well. To install gocode and godef: + - $ go get github.com/nsf/gocode + - $ go get code.google.com/p/rog-go/exp/cmd/godef + # Building - Find the 'koext' binary that is within your Komodo install (within sdk/bin). -- Run 'koext build' from the repository root, it should produce an .xpi for you. +- Run 'koext build -i golib' from the repository root, it should produce an .xpi for you. - Open this .xpi with Komodo to install it. -- Ensure 'go' and 'gocode' are on the PATH configured in your overall or project-specific Komodo settings -- For completion and go to definition ensure 'gocode' and 'godef' are on your paths as well. -- To install gocode and godef: - - $ go get github.com/nsf/gocode - - $ go get code.google.com/p/rog-go/exp/cmd/godef