Sha256: 1560d2bda9e7a31e909181818aea5598d2d2922ade78d82d6a6101aee204d225
Contents?: true
Size: 448 Bytes
Versions: 8
Compression:
Stored size: 448 Bytes
Contents
require 'sinatra/activerecord/rake' require 'resque/tasks' require 'rake/testtask' require './lib/app' task :creds2heroku do Bundler.with_clean_env { File.readlines('.env').each do |var| pipe = IO.popen("heroku config:set #{var}") while (line = pipe.gets) print line end end } end task :deploy2heroku do pipe = IO.popen("git push heroku master --force") while (line = pipe.gets) print line end end
Version data entries
8 entries across 8 versions & 1 rubygems