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