Sha256: e7ab120277911f0b4c11be425fc1fadfd8f6b41bfa5fdb2fc4c7d8deb9b6cca2

Contents?: true

Size: 865 Bytes

Versions: 7

Compression:

Stored size: 865 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rdoc/task'

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'FrontEndBuilds'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
  task :default => :spec
rescue LoadError
  # no rspec available
end

task :build_admin do
  Dir.chdir('admin'){
    cmd = 'ember build --output-path ../public --environment production'
    system 'echo Running command: ' + cmd
    system cmd
    system 'rm ../public/index.html'
  }
end

APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'


Bundler::GemHelper.install_tasks

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
front_end_builds-0.0.13 Rakefile
front_end_builds-0.0.12 Rakefile
front_end_builds-0.0.11 Rakefile
front_end_builds-0.0.10 Rakefile
front_end_builds-0.0.9 Rakefile
front_end_builds-0.0.8 Rakefile
front_end_builds-0.0.7 Rakefile