Sha256: eb4b4c745612c63bcbfc15ddea5f7cfb176c4d9e378970cb168a6545e448df20

Contents?: true

Size: 510 Bytes

Versions: 12

Compression:

Stored size: 510 Bytes

Contents

require 'rest-client'
require 'trackman'

#only load this rakefil for sinatra/rack apps 
namespace :trackman do
  desc "Syncs your assets with the server, this is what gets executed when you deploy to heroku."
  task :sync do 
    Trackman::Assets::Asset.sync
  end

  desc "Sets up the heroku configs required by Trackman"
  task :setup, :app do |t, args|
    heroku_version = Gem.loaded_specs["heroku"].version.to_s
    Trackman::Utility::Configuration.new(heroku_version, :app => args[:app]).setup
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trackman-0.6.11 lib/trackman/tasks/trackman.rake
trackman-0.6.10 lib/trackman/tasks/trackman.rake
trackman-0.6.9 lib/trackman/tasks/trackman.rake
trackman-0.6.8 lib/trackman/tasks/trackman.rake
trackman-0.6.7 lib/trackman/tasks/trackman.rake
trackman-0.6.6 lib/trackman/tasks/trackman.rake
trackman-0.6.5 lib/trackman/tasks/trackman.rake
trackman-0.6.4 lib/trackman/tasks/trackman.rake
trackman-0.6.3 lib/trackman/tasks/trackman.rake
trackman-0.6.2 lib/trackman/tasks/trackman.rake
trackman-0.6.1 lib/trackman/tasks/trackman.rake
trackman-0.6.0 lib/trackman/tasks/trackman.rake