rails_generators/trackman/templates/trackman.rake in trackman-0.0.8 vs rails_generators/trackman/templates/trackman.rake in trackman-0.0.9
- old
+ new
@@ -4,10 +4,13 @@
MAINTENANCE = 'MAINTENANCE_PAGE_URL'
TRACKMAN_ERROR = 'TRACKMAN_ERROR_PAGE_URL'
TRACKMAN_MAINTENANCE = 'TRACKMAN_MAINTENANCE_PAGE_URL'
desc "Syncs your assets with the server, this is what gets executed when you deploy to heroku."
- task :sync do
+ task :sync, :debug do |t, args|
+ if args[:debug]
+ RestClient.log = Logger.new(STDOUT)
+ end
Trackman::Assets::Asset.sync
end
desc "Sets up the heroku configs required by Trackman"
task :setup do
\ No newline at end of file