pelzlpj / orpie

Curses-based RPN calculator
GNU General Public License v3.0
70 stars 5 forks source link

create OPAM package #5

Closed pelzlpj closed 6 years ago

pelzlpj commented 6 years ago

Pending integration of https://github.com/ocaml/opam-repository/pull/12528 .

mblakele commented 6 years ago

I wanted to test this before it's in opam officially, but I'm new to opam. This process seems to work:

brew install opam &&
opam repo add orpie 'https://github.com/pelzlpj/opam-repository.git#opam-publish-orpie.1.6.0' &&
opam install orpie

caveat: I lose calc_state whenever I switch between my old, homebrew-install orpie 1.5.2 and the new opam orpie 1.6.0. That isn't important to me, but I thought I'd mention it.

pelzlpj commented 6 years ago

The caveat is not surprising, and is probably due to using different OCaml compilers. If memory serves, the state file is using built-in OCaml object serialization, which is not a stable format.

Anyway: Orpie went live on OPAM earlier today, so I'm closing this out.