commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

Provide version info. #72

Closed carymrobbins closed 8 years ago

carymrobbins commented 8 years ago

This provides a --version option for the stack-ide executable. It seems this might also need to be implemented in stack to support something like stack ide --version.

Note that the resolver was updated to nightly-2015-08-12 to allow adding gitrev >= 1.1 as a dependency.

The version info matches that of stack --version -

$ stack-ide --version
Version 0.1.0.0, Git revision af03a085c26c5349ce578ec5a1543e840cc9c872 (145 commits) X86_64
chrisdone commented 8 years ago

Sounds good.