Skip to content
Snippets Groups Projects
Commit e38b161b authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

make.pl: show compiled lua scripts

Extract the build target when building luac files.

Before:

    MAKE     : share
    ...
    luac -o lua/extensions/VLSub.luac ../../share/lua/extensions/VLSub.lua

After:

    MAKE     : share
    ...
     COMPILE : lua/extensions/VLSub.luac
parent 9459286c
No related branches found
No related tags found
1 merge request!4060make.pl: show compiled lua scripts
Pipeline #372224 passed with stage
in 18 minutes and 58 seconds
......@@ -63,6 +63,7 @@ while(<STDIN>)
$line =~ s/^.* (lib.*\.so).*/ LINK : $1/g ||
$line =~ s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2/g ||
$line =~ s/^.*(lib.*\.lo)\s.*/ COMPILE : $1/g ||
$line =~ s/^.* (.*\.luac)\s.*/ COMPILE : $1/g ||
$line =~ s/^.* (lib.*\.o)\s`.*`(.*);\ \\/ COMPILE : $2/ ||
$line =~ s/.*\-o\s([^\s]*)\s`.*`([^\s]*);.*/ COMPILE : $2/g ||
$line =~ s/^[A-z0-9-]*ranlib\s(.*)/ RANLIB : $1/g ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment