Closed timshannon closed 9 years ago
FYI, I forked your library and messed with it a bit, and was able to get it to work:
https://github.com/timshannon/go-commonmark/
Merge if you want, otherwise my fork suites my purposes for now.
Thanks,
Thanks, I like the idea. I'll take a look at this later tonight.
@timshannon, I checked out your fork and haven't been able to get it to run correctly (I removed my installed libcmark to make sure it wasn't linking that in, which it will do). Running 'go test' throws an error about the missing cmark library. What's your build procedure?
Just go get works for me. Not sure what the issue is. I'll try it later on a fresh install. On Feb 11, 2015 8:17 AM, "James Adam" notifications@github.com wrote:
I checked out your fork and haven't been able to get it to run correctly (I removed my installed libcmark to make sure it wasn't linking that in, which it will do). Running 'go test' throws an error about the missing cmark library. What's your build procedure?
— Reply to this email directly or view it on GitHub https://github.com/rhinoman/go-commonmark/issues/1#issuecomment-73887291 .
Just confirmed on a a fresh install of Ubuntu. Installed go, then did go get github.com/timshannon/go-commonmark and it installed fine.
Are you trying against your own repository? There were several things I needed to change in order to get it build properly with the go compiler.
Figured it out. commonmark_test.go in your fork was still importing go-commonmark from my repo... Seems to work fine, I think this will be easier/simpler than linking dynamically.
@timshannon, I'll merge this in -- go ahead and submit a pull request.
Looks like you merged my change already and reverted it. I'll create a brand new repository / pull request so it can be merged properly.
Merged it in. Thanks.
It would be fantastic if this could be bundled statically and built with go like out https://github.com/mattn/go-sqlite3 does it.
Since it's a pure-C library it should be possible.