Sha256: 30c803b40319b01017f32e9d05e5a6ce0caef7ffa41ed21a6dd25b1e6544e878

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

require "rubygems"
require "bundler/setup"

require 'rake'

namespace :$APPLICATION_DOWNCODE do
  
  desc 'Translate the application'
  task :translate do |task|\
    require 'fileutils'
    FileUtils.cp('./translations/en.yml', './translations/en.bak')
    system 'bundle exec babelphish -y ./translations/en.yml -o'
  end
  
  desc 'Run the application'
  task :run do |task|
    system 'clear; bundle exec rackup config.ru'
  end
  
  desc 'Monitor the log'
  task :monitor do |task|
    system 'rm log/*; touch log/application.log; clear; tail -f log/application.log'
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
_rubyapp-0.0.3 lib/rubyapp/template/Rakefile