Commit a508b256 authored by Lubosz Sarnecki's avatar Lubosz Sarnecki
Browse files

meson: Add build with install target.

parent d677956b
extension_sources = files('extension.js')
extension_data = files('metadata.json', 'stylesheet.css', 'vr-symbolic.svg')
install_data (extension_sources + extension_data,
install_dir: join_paths(extensiondir, uuid)
foreach js_source : extension_sources
if (js52.found())
path_array = '@0@'.format(js_source).split('/')
name = join_paths(path_array[-2], path_array[-1])
test('Checking syntax of ' + name, js52,
args: ['-s', '-c', js_source],
workdir: meson.current_source_dir()
version: '0.8.0',
meson_version: '>= 0.44.0',
license: 'MIT'
datadir = get_option('datadir')
shelldir = join_paths(datadir, 'gnome-shell')
extensiondir = join_paths(shelldir, 'extensions')
js52 = find_program('js52', required: false)
uuid = ''
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment