get version during compile time from cargo metadata
This commit is contained in:
@@ -118,7 +118,7 @@ fn get_credentials(reset: bool) -> Credentials {
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let matches = App::new("ncspot")
|
let matches = App::new("ncspot")
|
||||||
.version("0.1.0")
|
.version(env!("CARGO_PKG_VERSION"))
|
||||||
.author("Henrik Friedrichsen <henrik@affekt.org> and contributors")
|
.author("Henrik Friedrichsen <henrik@affekt.org> and contributors")
|
||||||
.about("cross-platform ncurses Spotify client")
|
.about("cross-platform ncurses Spotify client")
|
||||||
.arg(
|
.arg(
|
||||||
|
|||||||
Reference in New Issue
Block a user