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

rules_reason #8

Open
laurentlb opened this issue Oct 28, 2018 · 1 comment
Open

rules_reason #8

laurentlb opened this issue Oct 28, 2018 · 1 comment

Comments

@laurentlb
Copy link

Hi,

Do you know how this ruleset compares to rules_reason?
https://github.com/ostera/rules_reason

There seems to be some overlap (see ocaml_native_binary and ocaml_bytecode_binary).

cc @Ostera

@jin
Copy link
Owner

jin commented Oct 28, 2018

rules_reason seems more feature complete than this ruleset, e.g. with ocaml_module and bs_module for code modularization. It also uses toolchains to manage the entire reason/ocaml toolchain:

def _reason_toolchain_impl(ctx):
    return [
        platform_common.ToolchainInfo(
            bs_stdlib=ctx.attr.bs_stdlib,
            bsc=ctx.file.bsc,
            ocamlc=ctx.file.ocamlc,
            ocamlopt=ctx.file.ocamlopt,
            ocamldep=ctx.file.ocamldep,
            ocamlrun=ctx.file.ocamlrun,
            ocaml_stdlib=ctx.attr.ocaml_stdlib,
            refmt=ctx.file.refmt,
        )
    ]

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