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

Provide convenient rules for Atdgen #168

Open
ManasJayanth opened this issue Aug 30, 2020 · 0 comments
Open

Provide convenient rules for Atdgen #168

ManasJayanth opened this issue Aug 30, 2020 · 0 comments
Labels
custom-rules enhancement New feature or request

Comments

@ManasJayanth
Copy link
Member

ManasJayanth commented Aug 30, 2020

Atdgen needs rules like these

(rule
 (targets example_j.ml
          example_j.mli)
 (deps    example.atd)
 (action  (run atdgen -j -j-std %{deps})))

(rule
 (targets example_t.ml
          example_t.mli)
 (deps    example.atd)
 (action  (run atdgen -t %{deps})))

Right now, we have to use the following,

{
      "rawBuildConfigFooter": [
        "(rule (targets example_j.ml example_j.mli) (deps   example.atd) (action  (run atdgen -j -j-std %{deps})))",
        "(rule (targets example_t.ml example_t.mli) (deps   example.atd) (action  (run atdgen -t %{deps})))"
      ]
}
@ManasJayanth ManasJayanth added enhancement New feature or request custom-rules labels Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-rules enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant