meson: copy automation files to build directory
This enables running Moonscript on Windows builds without relying on system files
This commit is contained in:
parent
d32ef75cba
commit
f5122a3927
3 changed files with 35 additions and 0 deletions
14
automation/include/aegisub/meson.build
Normal file
14
automation/include/aegisub/meson.build
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copy files to build directory for testing purposes
|
||||
lua_files = files(
|
||||
'argcheck.moon',
|
||||
'clipboard.lua',
|
||||
'ffi.moon',
|
||||
'lfs.moon',
|
||||
're.moon',
|
||||
'unicode.moon',
|
||||
'util.moon',
|
||||
)
|
||||
|
||||
foreach f: lua_files
|
||||
configure_file(input: f, output: '@PLAINNAME@', copy: true)
|
||||
endforeach
|
19
automation/include/meson.build
Normal file
19
automation/include/meson.build
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copy files to build directory for testing purposes
|
||||
lua_files = files(
|
||||
'cleantags.lua',
|
||||
'clipboard.lua',
|
||||
'karaskel-auto4.lua',
|
||||
'karaskel.lua',
|
||||
'lfs.lua',
|
||||
'moonscript.lua',
|
||||
're.lua',
|
||||
'unicode.lua',
|
||||
'utils-auto4.lua',
|
||||
'utils.lua',
|
||||
)
|
||||
|
||||
foreach f: lua_files
|
||||
configure_file(input: f, output: '@PLAINNAME@', copy: true)
|
||||
endforeach
|
||||
|
||||
subdir('aegisub')
|
|
@ -1,3 +1,5 @@
|
|||
subdir('include')
|
||||
|
||||
automation_dir = dataroot / 'automation'
|
||||
|
||||
install_data(
|
||||
|
|
Loading…
Reference in a new issue