| ▲ | danny0z 4 hours ago | ||||||||||||||||
> not have `target("name", function (ctx) ... end)`. It supports this syntax. https://xmake.io/guide/project-configuration/syntax-descript... | |||||||||||||||||
| ▲ | numeromancer 3 hours ago | parent | next [-] | ||||||||||||||||
I think the creators did it a disservice to xmake when they tried to unluaize the syntax. You can also do:
which suits Lua better. Unfortunately you cannot do
which would be the lua-est lua of all. | |||||||||||||||||
| |||||||||||||||||
| ▲ | warmwaffles 4 hours ago | parent | prev [-] | ||||||||||||||||
I did not spot those in the docs. Thanks a ton. This will help my autoformatter not completely wreck my files. | |||||||||||||||||