obazl / tools_obazl

Tools for use with the OBazl Toolsuite
https://obazl.github.io/docs_obazl/
Eclipse Public License 2.0
4 stars 0 forks source link

verify opam is installed #2

Closed mobileink closed 1 year ago

mobileink commented 1 year ago

the coswitch cmd uses posix_spawn to run some opam cmds. Add code to verify the opam cmd is available first, and issue a helpful msg if not.

mobileink commented 1 year ago

done. uses system to call which to check for opam and ocamldep. not portable but it'll do for now.