mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 20:46:26 +02:00
pkg(befunge93-0.2.0): added befunge93
This commit is contained in:
parent
142e7912fa
commit
0949610b61
7 changed files with 32 additions and 1 deletions
15
packages/befunge93/0.2.0/build.sh
vendored
Normal file
15
packages/befunge93/0.2.0/build.sh
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# source python 2.7
|
||||
source ../../python/2.7.18/build.sh
|
||||
|
||||
# clone befunge repo
|
||||
git clone -q 'https://github.com/programble/befungee' befunge93
|
||||
|
||||
# go inside befunge93 so we can checkout
|
||||
cd befunge93
|
||||
|
||||
# checkout the version 0.2.0
|
||||
git checkout tag/v0.2.0
|
||||
|
||||
cd ..
|
5
packages/befunge93/0.2.0/environment
vendored
Normal file
5
packages/befunge93/0.2.0/environment
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export BEFUNGE93_PATH=$PWD/befunge93
|
5
packages/befunge93/0.2.0/metadata.json
vendored
Normal file
5
packages/befunge93/0.2.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "befunge93",
|
||||
"version": "0.2.0",
|
||||
"aliases": ["b93"]
|
||||
}
|
4
packages/befunge93/0.2.0/run
vendored
Normal file
4
packages/befunge93/0.2.0/run
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# run the befunge program with the file name
|
||||
python2.7 "$BEFUNGE93_PATH"/befungee.py "$1"
|
1
packages/befunge93/0.2.0/test.b93
vendored
Normal file
1
packages/befunge93/0.2.0/test.b93
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
64+"KO">:#,_@
|
Loading…
Add table
Add a link
Reference in a new issue