diff options
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 10 |
1 files changed, 9 insertions, 1 deletions
| @@ -1,2 +1,10 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | ls -lah | 2 | |
| 3 | luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") | ||
| 4 | mkdir "$luaver" | ||
| 5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 | ||
| 6 | cd "$luaver" | ||
| 7 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $1 $2" | ||
| 8 | cd "/root/" | ||
| 9 | cp "$luaver/src/*.exe" . | ||
| 10 | cp "$luaver/src/*.dll" . | ||
