build: Bump js-shell used for syntax checks

gjs moved from SpiderMonkey 52 to 60 during the last cycle, it's time
we follow suit.
This commit is contained in:
Florian Müllner
2019-01-28 04:31:31 +01:00
parent 0a979f5bfa
commit 4655cde002
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ stages:
- build
before_script:
- dnf install -y meson gettext mozjs52-devel
- dnf install -y meson gettext mozjs60-devel
build-shell-extensions:
stage: build

View File

@@ -33,11 +33,11 @@ install_data (extension_schemas,
)
foreach js_source : js_sources
if (js52.found())
if (js60.found())
path_array = '@0@'.format(js_source).split('/')
name = join_paths(path_array[-2], path_array[-1])
test('Checking syntax of ' + name, js52,
test('Checking syntax of ' + name, js60,
args: ['-s', '-c', js_source],
workdir: meson.current_source_dir()
)

View File

@@ -22,7 +22,7 @@ xsessiondir = join_paths(datadir, 'xsessions')
extensionlib = files('lib/convenience.js')
js52 = find_program('js52', required: false)
js60 = find_program('js60', required: false)
ver_arr = meson.project_version().split('.')
if ver_arr[1].to_int().is_even()