diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-07-29 16:32:59 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-07-29 16:32:59 -0500 |
commit | ae3e8e4331852dc89479fba5c5175721bd27c20e (patch) | |
tree | 3039c85923db508e4caea8f7211ce2f4eae09abc /init | |
parent | c9180644003e24bc979f2194abd0c5353d58b766 (diff) | |
download | lua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.tar.gz lua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.tar.bz2 lua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.zip |
Start working on builds
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" . | ||