-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
[Developer] Add kmlmc command line compiler and environment #1986
Conversation
So far so good! I've merged P.S., I think the name |
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
Once PR #1983 is merged, rebase this tobeta
.This PR integrates
kmlmc
into Keyman Developer, as a command line tool. This does not include a way to build a lexical model from the GUI yet.The majority of the work is in bundling an appropriate minimal node environment. The requirements are:
Given that npm-bundle generates a .tgz, which doesn't unpack on Windows without additional tooling, I opted instead to work from the repo directly. Most of the grunt work is done in the Makefile copydev.in (which is preprocessed to generate copydev.mak during the Keyman Developer build).
I'm not that happy with including node.exe (32 bit) in the repo but it is the simplest consistent way I've found so far. Any suggestions for improving this appreciated.
Note: this is designed for Windows users. For other platforms (or existing Node users), I intend to publish
@keymanapp/lexical-model-compiler
(name?) in npm.