Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build instructions #1

Closed
jmi2k opened this issue Sep 6, 2017 · 3 comments
Closed

Add build instructions #1

jmi2k opened this issue Sep 6, 2017 · 3 comments

Comments

@jmi2k
Copy link

jmi2k commented Sep 6, 2017

It would help people who doesn't have any previous experience with Go (like me!) but want to get started quickly and try this project.

@linde12
Copy link
Owner

linde12 commented Sep 6, 2017

Yes, sorry, been very busy this week.

I'll update the readme with some instructions!

@linde12
Copy link
Owner

linde12 commented Sep 6, 2017

I've updated the readme, to build kod you should really only need to run go build once go is installed and in your path. But right now you have to build xi-core (and xi-syntect-plugin if you'd like) yourself as well.

It's not a top priority now to make it bundled together, at least not until we've got a stable version of xi-core with the features.

tl;dr
Build the core with cargo build and kod with go build, place the executables in the same directory and run kod from there. E.g:

/home/linde12/go/src/github.com/linde12/kod $ go build
/home/linde12/go/src/github.com/linde12/kod $ ./kod ~/js/../index.js

@jmi2k
Copy link
Author

jmi2k commented Sep 6, 2017

I see, the problem was that I was trying that the sources weren't located in my $GOPATH accordingly! I'd like to be able to build it from wherever I clone the repo, but I don't know anything about Go packaging guidelines so I'll just leave it as a comment.

@jmi2k jmi2k closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants