Replies: 1 comment 2 replies
-
As a temporary work around what I have now is a Makefile task that just calls
That script grabs the current version and sticks it in the
Does it look pretty? Nope, but it works. So I'll use this until I figured out a better way to do this 😆 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case where I'm building a CLI app. A lot of times with apps like this you want to make sure you can display the version of the app via a command, and many times the value of that version is persisted utilizing a form of
BuildInfo
where based on git, or something else a file is generated and used for compilation. Is there any way to mimic something like this withscala-cli
? All the solutions I'm coming up with request runningscala-cli
to generate a file first, and then running it again on your main project to utilize that created file. However, it'd be great if this could just be done in a single step somehow. Any ideas?Beta Was this translation helpful? Give feedback.
All reactions