maddyblue / esc

A simple file embedder for Go
http://godoc.org/github.com/mjibson/esc
MIT License
637 stars 73 forks source link

Version number and CLI option #22

Closed sabhiram closed 8 years ago

sabhiram commented 8 years ago

Awesome project that we use daily! One thing we do with go generate is to invoke esc as part of our code generation step to bundle the assets and whatnot into a few "static.go"esq files. It would be very useful to be able to query the version of esc to validate its existence before attempting to use it.

maddyblue commented 8 years ago

I'm not sure what problem this is solving. What does "query the version of esc to validate its existence" mean?

sabhiram commented 8 years ago

You are right, it does not really solve anything. I check esc's existence in our build slaves via whatever scripting env I have.