Skip to content

Commit

Permalink
build: include the "golib" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Whiteman committed Oct 8, 2014
1 parent 1646972 commit 8429d3a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Conscript
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Import(
'mozIdlIncludePath',
);

$cons->KoExt("koinstall");
$cons->KoExt("koinstall -i golib");
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8429d3a

Please sign in to comment.