Sha256: 145fe366773be404019794795438d55c649a49ed18e83c580b330bc25f681732
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core' require 'rspec/core/rake_task' task :default => :spec desc "Run all specs in spec directory (excluding plugin specs)" RSpec::Core::RakeTask.new(:spec) desc "Run ferver locally from source" task :server do |t, args| require 'rubygems' require 'bundler' Bundler.setup require 'ferver' # use the last argument (first is the rake task) as the file path to serve from ferver_path = (ARGV.length == 2 && ARGV.last) || nil Ferver::App.set :ferver_path, ferver_path # run! Ferver::App.run! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ferver-1.1.0 | Rakefile |