Sha256: afb8e1316d06bf1275ad873b95ec212925b870590153c2d4d6fadcfb4d36a8ca

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

#!/usr/bin/env ruby

mylib = `gem which rubytext`.chomp
examples = mylib.sub(%r[/lib/rubytext.rb], "/examples")

Dir.chdir(examples)

rc = system("ruby check.rb")
exit unless rc

# FIXME later:
#   - use names instead of numbers?
#   - convert showme into a method?

system("ruby showme.rb prog01.rb")
system("ruby showme.rb prog02.rb")
system("ruby showme.rb prog03.rb")
system("ruby showme.rb prog04.rb")
system("ruby showme.rb prog05.rb")
system("ruby showme.rb prog06.rb")
system("ruby showme.rb prog07.rb")
system("ruby showme.rb prog08.rb")
system("ruby showme.rb prog09.rb")
system("ruby showme.rb prog10.rb")
system("ruby showme.rb prog12.rb")
system("ruby showme.rb prog13.rb")
system("ruby showme.rb prog14.rb")
system("ruby showme.rb prog15.rb")
system("ruby showme.rb prog16.rb")
system("ruby showme.rb prog17.rb")
system("ruby showme.rb prog18.rb")
system("ruby showme.rb prog19.rb")
system("ruby showme.rb prog20.rb")
system("ruby showme.rb prog21.rb")
system("ruby showme.rb prog22.rb 11")
system("ruby showme.rb prog23.rb")
system("ruby showme.rb prog24.rb")
system("ruby showme.rb prog25.rb")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubytext-0.0.86 examples/slides