mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 12:07:49 +02:00
Updated to Lua 5.4.4
This commit is contained in:
parent
86d897d580
commit
b65c5f84df
5 changed files with 28 additions and 0 deletions
14
packages/lua/5.4.4/build.sh
vendored
Normal file
14
packages/lua/5.4.4/build.sh
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put instructions to build your package in here
|
||||||
|
curl -R -O -L http://www.lua.org/ftp/lua-5.4.4.tar.gz
|
||||||
|
tar zxf lua-5.4.4.tar.gz
|
||||||
|
rm lua-5.4.4.tar.gz
|
||||||
|
|
||||||
|
cd lua-5.4.4
|
||||||
|
# Building Lua
|
||||||
|
make linux
|
||||||
|
# To check that Lua has been built correctly
|
||||||
|
make test
|
||||||
|
# Installing Lua
|
||||||
|
make linux install
|
4
packages/lua/5.4.4/environment
vendored
Normal file
4
packages/lua/5.4.4/environment
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH="$PWD/lua-5.4.4/src:$PATH"
|
5
packages/lua/5.4.4/metadata.json
vendored
Normal file
5
packages/lua/5.4.4/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "lua",
|
||||||
|
"version": "5.4.4",
|
||||||
|
"aliases": []
|
||||||
|
}
|
4
packages/lua/5.4.4/run
vendored
Normal file
4
packages/lua/5.4.4/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put instructions to run the runtime
|
||||||
|
lua "$@"
|
1
packages/lua/5.4.4/test.lua
vendored
Normal file
1
packages/lua/5.4.4/test.lua
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
print("OK")
|
Loading…
Add table
Add a link
Reference in a new issue