HaxeFoundation / ocamhaxe

OCaml distribution for Haxe compilation
Other
10 stars 5 forks source link

Uninstall #2

Open ncannasse opened 7 years ago

ncannasse commented 7 years ago

It would be nice to have a way to remove all the environment variables set by Config.hx

Simn commented 2 months ago

This would indeed be good to have, but it seems a bit tricky. We would only want to unset an environment variable if it actually still points to our ocamhaxe installation, e.g. OPAMROOT being set to ocamhaxe/.opam. Otherwise there could be situations where ocamhaxe unsets these values even though it didn't actually set it.