-
Notifications
You must be signed in to change notification settings - Fork 188
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
Javascript CLI and binary packages #308
Conversation
I know there's a ton of crap in there. I'm trying to get it to work and then I'll cleanup. Right now with
backend is wrong, file is right but doesn't get converted |
Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
@Mogztter you should read #259 for struggles with Last thing I just realized: I don't like the fact that we need both |
On further consideration, I'm not sure we need to create an additional project to build the binary. Since we don't want to add package-bin.sh npm i @asciidoctor/core
./node_modules/.bin/pkg -t "node12-linux-x64,node12-macos-x64,node12-win-x64" package.json --out-path dist/ |
I've created a pull request: obilodeau#1 (to your branch) |
Build the binary at the root
Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything works! Awesome and a lot simpler. Only one remaining question.
I'm doing the docs and will update.
The plan is to squash merge this in a few hours (later tonight EST). Last chance for comments! Unless someone requests to hold on it for a little while. |
Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I left a few nitpicks but overall it's really good 👍
Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
See review discussion in asciidoctor#308 for more context. Co-Authored-By: Guillaume Grossetie <g.grossetie@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I got this to work (code from asciidoctor-pdf) but since I'm squash committing, I'm going to do a separate PR for this. |
Woot woot awesome work @obilodeau 🚀 |
Making progress but doesn't work right now.
Created the PR to get assistance from @Mogztter.
Related to #259.