Essentially:
find ./ -type f -exec sed -i -e "s/license :'/license : '/g" {} \;
Suggested-by: @LingMan
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35210>
23 lines
472 B
Meson
23 lines
472 B
Meson
project(
|
|
'pest_derive',
|
|
'rust',
|
|
version : '2.8.0',
|
|
license : 'MIT OR Apache-2.0',
|
|
)
|
|
|
|
pest = subproject('pest').get_variable('lib')
|
|
pest_generator = subproject('pest_generator').get_variable('lib')
|
|
|
|
rust = import('rust')
|
|
|
|
lib = rust.proc_macro(
|
|
'pest_derive',
|
|
'src/lib.rs',
|
|
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
|
link_with : [pest, pest_generator],
|
|
)
|
|
|
|
dep_pest_derive = declare_dependency(
|
|
link_with : [lib, pest, pest_generator],
|
|
)
|