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

Set up J2CL JavaScript build #64

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Set up J2CL JavaScript build #64

merged 1 commit into from
Apr 26, 2020

Conversation

travisbrown
Copy link
Owner

Together with #63 this is my experiment from a couple of days ago described in #58.

If you run bazel build javascript:dhall (and have a recent-ish version of bazel on your machine), you'll get a JavaScript file in bazel-bin/javascript/dhall.js that you can use as described in #58.

If we merge this I'll close #58 and we can open new issues for things like refining the JavaScript API and setting up packaging or publishing or whatever.

At some point we might want to run the bazel build in CI, but right now I don't think it's worth the effort. There's a chance we'll accidentally introduce incompatible changes, but they should be easy to identify and fix.

@travisbrown travisbrown merged commit 9a1aa33 into master Apr 26, 2020
@travisbrown travisbrown deleted the topic/j2cl branch April 28, 2020 14:29
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

Successfully merging this pull request may close these issues.

Set up JavaScript build
1 participant