Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a Rakefile with test and generate task. Add a binary to generate …

…results.txt from.
  • Loading branch information...
commit 2c3bf03cbe95450678ecf0a0c15fdb004a1f44a5 1 parent 49b254b
@Manfred authored
Showing with 18 additions and 0 deletions.
  1. +13 −0 Rakefile
  2. +5 −0 bin/generate
  3. 0  results.txt
View
13 Rakefile
@@ -0,0 +1,13 @@
+require 'rake/testtask'
+
+task :default => :spec
+
+Rake::TestTask.new('spec') do |t|
+ t.test_files = FileList['spec/**/*_spec.rb']
+ t.verbose = true
+end
+
+desc "Generate results.txt"
+task :generate do
+ sh File.expand_path('../bin/generate', __FILE__)
+end
View
5 bin/generate
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+
+output_path = File.expand_path('results.txt', Dir.pwd)
+File.open(output_path, 'w') do |file|
+end
View
0  results.txt
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.