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

add ocaml language #934

Merged
merged 3 commits into from
Apr 23, 2016
Merged

add ocaml language #934

merged 3 commits into from
Apr 23, 2016

Conversation

fdelbos
Copy link
Contributor

@fdelbos fdelbos commented Apr 19, 2016

What does this implement/fix? Explain your changes.

Adds support for OCaml language indentation

Does this close any currently open issues?

no

Any other comments?

ocp-indent must be installed:

brew install ocaml opam
opam install ocp-indent

Checklist

Check all those that are applicable and complete.

  • Merged with latest master branch
  • Added examples for testing to examples/ directory
  • Travis CI passes (Mac support)
  • AppVeyor passes (Windows support)

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @fscherwi, @diegodorado and @splodingsocks to be potential reviewers

@Glavin001
Copy link
Owner

Published to v0.29.7

@AllanWang
Copy link

Given the checkboxes above, I presume this isn't compatible with windows?

@stevenzeck
Copy link
Contributor

The checkboxes are for the test scripts. It should work on Windows, I'd have to find where you can download and install OCaml/opam for Windows, give me a bit.

@AllanWang
Copy link

@szeck87

https://fdopen.github.io/opam-repository-mingw/

It's there. But I'm not sure how to link it

@AllanWang
Copy link

@szeck87 any luck?

I've managed to install ocp-indent, but it is under C:\OCaml64\home\[user]\.opam\4.03.0+mingw64\bin.
where.exe ocp-indent will only find the path in the ocaml terminal, and not in the powershell, and as far as I'm aware, there's no location to specify file paths in beautify

@stevenzeck
Copy link
Contributor

Sorry was working on a different issue. Let me fire up my PC and install ocaml/opam and try.

@stevenzeck
Copy link
Contributor

Sorry, I tried for an hour and couldn't get it. I would reach out to the maintainers of ocaml and ask how to install it and any packages for use in Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants