mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 13:36:31 +02:00
pkg(vyxal-2.4.1): add vyxal
This commit is contained in:
parent
d61fb8ec5b
commit
6416b4d8cb
6 changed files with 36 additions and 0 deletions
18
packages/vyxal/2.4.1/build.sh
vendored
Normal file
18
packages/vyxal/2.4.1/build.sh
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# get Python source
|
||||
source ../../python/3.9.4/build.sh
|
||||
|
||||
# add regex and pwn modules
|
||||
bin/pip3 install regex pwn
|
||||
|
||||
# make vyxal directory
|
||||
mkdir vyxal
|
||||
cd vyxal
|
||||
|
||||
# Vyxal install
|
||||
curl -L "https://github.com/Vyxal/Vyxal/archive/refs/tags/v2.4.1.tar.gz" -o vyxal.tar.xz
|
||||
tar xf vyxal.tar.xz --strip-components=1
|
||||
rm vyxal.tar.xz
|
||||
|
||||
cd ..
|
8
packages/vyxal/2.4.1/environment
vendored
Normal file
8
packages/vyxal/2.4.1/environment
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Python and Vyxal path
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export VYXAL_PATH=$PWD/vyxal
|
||||
|
||||
# export term to fix curses warning
|
||||
export TERM=xterm
|
5
packages/vyxal/2.4.1/metadata.json
vendored
Normal file
5
packages/vyxal/2.4.1/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "vyxal",
|
||||
"version": "2.4.1",
|
||||
"aliases": []
|
||||
}
|
3
packages/vyxal/2.4.1/run
vendored
Normal file
3
packages/vyxal/2.4.1/run
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
python3 "$VYXAL_PATH"/Vyxal.py "$1"
|
1
packages/vyxal/2.4.1/test.vyxal
vendored
Normal file
1
packages/vyxal/2.4.1/test.vyxal
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
`OK
|
Loading…
Add table
Add a link
Reference in a new issue