Sha256: 8713e276bda54fd23109f14a99cca5da79140d5309deec30347138f31c18b196
Contents?: true
Size: 399 Bytes
Versions: 10
Compression:
Stored size: 399 Bytes
Contents
#! /usr/bin/env ruby require 'rake' task :default => [ :test, :run ] task :test do File.delete 'db/spec.db' if File.exists? 'db/spec.db' FileUtils.cd 'spec' do sh 'rspec user_spec.rb --backtrace --color --format doc' end File.delete 'db/spec.db' if File.exists? 'db/spec.db' end task :run, :port do |t, args| sh "thin -R config.ru -p #{args[:port] || 4567} start" end
Version data entries
10 entries across 10 versions & 1 rubygems