Skip to content

Commit

Permalink
A Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
trotter committed Apr 25, 2010
1 parent f78ce79 commit 2ec9805
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Rakefile
@@ -0,0 +1,18 @@
require 'rubygems'
require 'rake'
require 'rake/gempackagetask'
require 'rake/testtask'
load 'chuusha.gemspec'

task :default => :test

Rake::GemPackageTask.new($spec) do |t|
t.need_tar = true
end

Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
t.warning = true
end
1 change: 1 addition & 0 deletions lib/chuusha.rb
Expand Up @@ -59,6 +59,7 @@ def initialize(config, path)
@config = config
@outfile = path
@path = @outfile + ".erb"
@evaluated = nil
end

def template_exists?
Expand Down

0 comments on commit 2ec9805

Please sign in to comment.