summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-07-29 16:32:59 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-07-29 16:32:59 -0500
commitae3e8e4331852dc89479fba5c5175721bd27c20e (patch)
tree3039c85923db508e4caea8f7211ce2f4eae09abc /init
parentc9180644003e24bc979f2194abd0c5353d58b766 (diff)
downloadlua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.tar.gz
lua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.tar.bz2
lua-packaging-ae3e8e4331852dc89479fba5c5175721bd27c20e.zip
Start working on builds
Diffstat (limited to 'init')
-rwxr-xr-xinit10
1 files changed, 9 insertions, 1 deletions
diff --git a/init b/init
index 30ad5d0..d9c208f 100755
--- a/init
+++ b/init
@@ -1,2 +1,10 @@
1#!/bin/sh -ex 1#!/bin/sh -ex
2ls -lah 2
3luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..")
4mkdir "$luaver"
5tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
6cd "$luaver"
7make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $1 $2"
8cd "/root/"
9cp "$luaver/src/*.exe" .
10cp "$luaver/src/*.dll" .