Contributing: Use meson to install development dependencies

This commit is contained in:
Romain Vigier
2022-04-05 11:30:32 +02:00
parent 305c157407
commit c044e1159f
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -16,5 +16,10 @@ INSTALL_DIR = get_option('datadir') / 'gnome-shell' / 'extensions' / UUID
gnome = import('gnome')
i18n = import('i18n')
npm_exe = find_program('npm')
if npm_exe.found()
run_target('dev', command: [ npm_exe, 'install', '--save-dev' ])
endif
subdir('src')
subdir('tests')