Sha256: 1c2c5df23fd27e0bc105dd7e6d89cefd591114e86820373801dccaf4576813f8

Contents?: true

Size: 583 Bytes

Versions: 5

Compression:

Stored size: 583 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new do |t|
  t.pattern = "test/**/test_*.rb"
end

task(default: :test)

desc "Starts Sinatra and Ember servers"
task :client_dev do
  begin
    pid = spawn("cd website && bundle exec rackup")
    pid2 = spawn("cd client-app && ember s --proxy http://localhost:9292")
    Process.wait pid
    Process.wait pid2
  rescue Interrupt => e
    sleep 0.5
    puts "Doing final build and copying build files to the assets folder..."
    `./build_client_app.sh`
    puts "Done!"
    exit 0
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
logster-1.3.4 Rakefile
logster-1.3.3 Rakefile
logster-1.3.2 Rakefile
logster-1.3.0 Rakefile
logster-1.3.pre Rakefile