Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

created a rake task to run the test, to save my fingers

  • Loading branch information...
commit 522fff6d3b8c30814a8375b457001ae11b9747e2 1 parent 36a45f1
@tommorris authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
10 Rakefile
@@ -0,0 +1,10 @@
+require 'rubygems'
+require 'rake'
+
+task :default => [:test]
+
+desc "Test stylesheet with example HTML"
+task :test do
+ sh "java -jar /Applications/oxygen/lib/fop.jar -xml sdf_example.html -xsl stylesheet.xsl -pdf output.pdf"
+ sh "open output.pdf"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.