Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 375 Bytes
here = File.expand_path(File.dirname(__FILE__))
task :default => [
# :test,
:run]
build_command = "erector --to-html ./index.rb ./alexisms.rb ./bookmarklets/index.rb"
task :build do
sh build_command
end
task :run do
sh "rerun --pattern '**/*.rb' -cx -- " + build_command
end
task :test do
Dir.glob("#{here}/test/*_test.rb").each do |t|
require t
end
end