How to glob with Nelua during compilation #82
-
I have a folder full of Nelua files; what I tend to do is to execute the following command in terminal: It's not that difficult, but I have tried the shortest command Can you enlighten me please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not possible because arguments following the input file are reserved to be arguments to be passed to the running application, example: require 'arg'
print(arg[1]) Then running: $ nelua test.nelua hello.nelua
hello.nelua And using |
Beta Was this translation helpful? Give feedback.
This is not possible because arguments following the input file are reserved to be arguments to be passed to the running application, example:
Then running:
And using
*.nelua
is effectively the same as expanding current directory files into many arguments.