diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ce0daf7..42ea701 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,17 +42,17 @@ We follow the [GNOME Shell coding style](https://gitlab.gnome.org/GNOME/gnome-sh To make sure your code follows it: ```bash -npm run test-lint +meson test -C builddir --suite=code ``` ### Copyright notice If you make changes to a file, please put your copyright notice to the top of the file, or in a separate file (named `original-file.ext.license`), following the [SPDX specification](https://spdx.dev/). -Run [`reuse`](https://reuse.software/) to check that all the needed information is present: +We use [`reuse`](https://reuse.software/) to check that all the needed information is present: ```bash -reuse lint +meson test -C builddir --suite=licensing ``` ### Creating new files diff --git a/tests/meson.build b/tests/meson.build index 4e25c67..bc61d19 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -4,14 +4,14 @@ reuse_exe = find_program('reuse', required: false) if reuse_exe.found() test( - 'Comply with REUSE spec', + 'reuse', reuse_exe, args: [ '--root', meson.project_source_root(), 'lint' ], - suite: 'licenses', + suite: 'licensing', ) endif @@ -22,7 +22,7 @@ eslint_exe = find_program( ) if eslint_exe.found() test( - 'Check JavaScript format', + 'eslint', eslint_exe, args: [ meson.project_source_root() / 'src' ], suite: 'code',