lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 3b935499f11068340a4e168bfdc1685c747f96a8
parent fce75906dbc665faaabdfaa0b8ed13d7f6006352
Author: Sean Enck <sean@ttypty.com>
Date:   Tue, 12 Jul 2022 18:15:18 -0400

change project version method

Diffstat:
Mmeson.build | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build @@ -1,7 +1,6 @@ -project('lockbox') +project('lockbox', version: 'development') golang = find_program('go') -git_ver = run_command('git', 'log', '-n', '1', '--format=%h').stdout().strip() -vers = '-X main.version=' + git_ver +vers = '-X main.version=' + meson.project_version() flags = ['-ldflags'] + [vers] + ['-trimpath', '-buildmode=pie', '-mod=readonly', '-modcacherw'] in_files = run_command('find', join_paths(meson.current_source_dir(), 'internal'), '-type', 'f', '-name', '*.go').stdout().strip().split()