Browse Source

meson: use dashes in colour names

upstream/latest
Zbigniew Jędrzejewski-Szmek 4 years ago
committed by Sven Eden
parent
commit
f9436d774b
  1. 2
      meson.build
  2. 6
      meson_options.txt

2
meson.build

@ -230,7 +230,7 @@ conf.set_quoted('SYSTEM_CONFIG_UNIT_PATH', join_paths(pkgsysc
# conf.set_quoted('RC_LOCAL_SCRIPT_PATH_START', get_option('rc-local'))
# conf.set_quoted('RC_LOCAL_SCRIPT_PATH_STOP', get_option('halt-local'))
#
# conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').to_upper())
# conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').underscorify().to_upper())
#
# conf.set_quoted('USER_CONFIG_UNIT_PATH', join_paths(pkgsysconfdir, 'user'))
# conf.set_quoted('USER_DATA_UNIT_PATH', userunitdir)

6
meson_options.txt

@ -361,9 +361,9 @@ option('install-tests', type : 'boolean', value : 'false',
option('ok-color', type: 'combo',
choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
'white', 'highlight_black', 'highlight_red', 'highlight_green',
'highlight_yellow', 'highlight_blue', 'highlight_magenta',
'highlight_cyan', 'highlight_white'],
'white', 'highlight-black', 'highlight-red', 'highlight-green',
'highlight-yellow', 'highlight-blue', 'highlight-magenta',
'highlight-cyan', 'highlight-white'],
value : 'green',
description: 'color of the "OK" status message')

Loading…
Cancel
Save