Sha256: 1a309c2b2d8b4d593b8838c7a5f71a6133ee7b704ea3f69740eeb5525360fc67

Contents?: true

Size: 1.25 KB

Versions: 9

Compression:

Stored size: 1.25 KB

Contents

#!/bin/sh
#export DEBUG=-rdebug


#export RUBYLEXERVSRUBY=test/code/rubylexervsruby.sh
export RUBYLEXERVSRUBY=test/code/rubylexervsruby.rb
export ARGS=$*
  #something broken here
   #test -n "$ARGS" && (


   echo 'looking for ruby files in debian packages...'
   find test/data/ -name '_*' -print|xargs -l200 rm
   for i in `feta find '\.rb'|cut -d: -f2-99`; do
      ln -s "$i" test/data/`echo $i|tr '/ ' '_'` 2>&1 |grep -v ': File exists$';
   done
   #)

   for i in test/data/*.rb; do
      $RUBYLEXERVSRUBY $i;
   done


   for i in *.rb; do
      $RUBYLEXERVSRUBY $i;
   done



#$RUBYLEXERVSRUBY assert.rb
#$RUBYLEXERVSRUBY charhandler.rb
#$RUBYLEXERVSRUBY term.rb
#$RUBYLEXERVSRUBY token.rb
#$RUBYLEXERVSRUBY rubycode.rb
#$RUBYLEXERVSRUBY rumalexer.rb
#$RUBYLEXERVSRUBY rubylexer.rb
#$RUBYLEXERVSRUBY rulexer.rb
#$RUBYLEXERVSRUBY matcher.rb
####$RUBYLEXERVSRUBY pattern.rb
#$RUBYLEXERVSRUBY rumaparser.rb


#also look in bin and lib directories
file -L `echo $PATH":/sbin:/usr/sbin"|tr : "\n"|sort -u|xargs -i echo "{}/*"`| \
 grep "ruby[^:]*script"|cut -d: -f1 > test/results/rubyexelibs

ruby -e 'print ($:.sort.uniq+[""]).join"\n"'|xargs -i ls "{}/*.rb" >> test/results/rubyexelibs

   for i in `cat test/results/rubyexelibs`; do
      $RUBYLEXERVSRUBY $i;
   done

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubylexer-0.8.0 test/code/torment
rubylexer-0.7.7 test/code/torment
rubylexer-0.7.6 test/code/torment
rubylexer-0.7.0 test/code/torment
rubylexer-0.7.1 test/code/torment
rubylexer-0.7.4 test/code/torment
rubylexer-0.7.5 test/code/torment
rubylexer-0.7.2 test/code/torment
rubylexer-0.7.3 test/code/torment