1. Cat's Eye Technologies
  2. Velo

Commits

catseye  committed 8b27634

After a modicum of Ruby research, add a driver script.

  • Participants
  • Parent commits 267ac37
  • Branches default

Comments (0)

Files changed (2)

File bin/velo

View file
+#!/usr/bin/env ruby
+
+require 'pathname'
+pn = Pathname.new(File.dirname(__FILE__)) + '../src'
+$:.push(pn.realpath())
+require 'velo'

File test.sh

View file
 
 cat >test_config <<EOF
     -> Functionality "Interpret Velo Script" is implemented by shell command
-    -> "./velo.rb %(test-file)"
+    -> "bin/velo %(test-file)"
 EOF
-cd src && falderal test ../test_config ../README.markdown
-rm ../test_config
+falderal test test_config README.markdown
+rm test_config