public
Description: a ruby-to-pyc compiler
Clone URL: git://github.com/why/unholy.git
Search Repo:
commit  6ee028c13014248abaebd0d9ef13f7127c853cc5
tree    5a57c5c8c2c7f126d8a2afac26c6789d39684120
parent  82cce7287f80b8a7309d399615ec48a81bb03480
unholy / decompyle / test_one
100755 16 lines (12 sloc) 0.276 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
 
file=$1
shift
options=$@
 
BASEDIR=test/bytecode_1.5
#BASEDIR=test/bytecode_2.0
#BASEDIR=test/bytecode_2.1
#BASEDIR=test/bytecode_2.2
 
if [ `dirname $file` == '.' ] ; then
file=$BASEDIR/test_$file.pyc
fi
 
python2 -u ./scripts/decompyle $options $file 2>&1 |less