Grab more info into version string.

pull/15/head
Jussi Pakkanen 11 years ago
parent 410c14d44e
commit ffb4a54681
  1. 2
      environment.py

@ -1019,7 +1019,7 @@ class Environment():
private_dir = 'meson-private' private_dir = 'meson-private'
log_dir = 'meson-logs' log_dir = 'meson-logs'
coredata_file = os.path.join(private_dir, 'coredata.dat') coredata_file = os.path.join(private_dir, 'coredata.dat')
version_regex = '\d+(\.\d+)+' version_regex = '\d+(\.\d+)+(-[a-zA-Z0-9]+)?'
def __init__(self, source_dir, build_dir, main_script_file, options): def __init__(self, source_dir, build_dir, main_script_file, options):
assert(os.path.isabs(main_script_file)) assert(os.path.isabs(main_script_file))
assert(not os.path.islink(main_script_file)) assert(not os.path.islink(main_script_file))

Loading…
Cancel
Save