pkg(befunge93-0.2.0): added befunge93
This commit is contained in:
parent
142e7912fa
commit
0949610b61
|
@ -29,4 +29,4 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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 ..
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "befunge93",
|
||||||
|
"version": "0.2.0",
|
||||||
|
"aliases": ["b93"]
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# run the befunge program with the file name
|
||||||
|
python2.7 "$BEFUNGE93_PATH"/befungee.py "$1"
|
|
@ -0,0 +1 @@
|
||||||
|
64+"KO">:#,_@
|
Loading…
Reference in New Issue