Rakefile in pushnote-0.0.4 vs Rakefile in pushnote-1.0.0

- old
+ new

@@ -1,2 +1,22 @@ require "bundler/gem_tasks" +require "sinatra/activerecord/rake" +task :server do + system('shotgun -p 9283') +end + +task :spec do + system('bundle exec rspec') +end + +task :daemon do + system('RAICK_ENV=local nohup rackup -p 9283 > /dev/null 2>&1 &') +end + +namespace :db do + task :load_config do + require 'pushnote/app' + end +end + +task :start => ['db:create', 'db:migrate', 'daemon']