Sha256: f61c245b205cda0ed147dc57b4cde8543d6636e5fd7c9317c28cba88b78c610b

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

 require 'rubygems'
 require 'bundler'
 require "bundler/setup"

 begin
   Bundler.setup(:default, :development)
 rescue Bundler::BundlerError => e
   $stderr.puts e.message
   $stderr.puts 'Run `bundle install` to install missing gems'
   exit e.status_code
 end

 task :environment do
   ENV['RACK_ENV'] ||= 'development'
   require File.expand_path('../config/environment', __FILE__)
 end

 desc "API Routes"
 task routes: :environment do
   API::Base.routes.each do |api|
     method = api.request_method.ljust(10)
     path   = api.path
     puts "     #{method} #{path}"
   end
 end

# AUTO-GENERATED (DO NOT ERASE)
# TASKS

 #Load tasks
 Dir.glob('lib/tasks/*.rake').each { |task| load task }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sumcli-0.6.0 lib/sumcli/templates/new/app/Rakefile
sumcli-0.4.0 lib/sumcli/templates/new/app/Rakefile