Sha256: 1ccfbe8b0a8aefbb03ebe03103d1e9b25faa821461c9dd02c039fad5d40d76e9
Contents?: true
Size: 506 Bytes
Versions: 16
Compression:
Stored size: 506 Bytes
Contents
require 'active_support/all' [:rails, :rake].each do |command| define_method command do |task| Dir.chdir test_app_path do # this is commented bc the output is annoying and not useful imho # if you cant provide a reason to keep this i'll delete # dbg_comment "cd #{test_app_path}" reload_application_gemfile `bundle exec "#{command} #{task}"` end end end # def dbg_comment(msg) # puts " # #{ts} - #{msg}" # end # def ts # Time.now.strftime('%H:%M:%S') # end
Version data entries
16 entries across 16 versions & 1 rubygems