Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Add version output #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add version output #44

wants to merge 1 commit into from

Conversation

Androbin
Copy link

@Androbin Androbin commented Jan 31, 2018

Fixes #43
@skohlmann /cc

Output format: <name> version <commit index> (commit hash)
Example output: butteraugli version 33 (cc686a769d8063aca8f54b5bfb0d15d73c653b48)

@Androbin
Copy link
Author

Androbin commented Jan 31, 2018

There is still a problem with the path to version.txt not able to resolve if it doesn't use the right working directory.
Works: bazel run butteraugli -- --version
Doesn't work: ./bazel-bin/butteraugli --version

@Androbin
Copy link
Author

@jyrkialakuijala Does the version scheme look good to you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant