Sha256: 9e6430db51e16fe403a00b0aaeb20b50a2835c772e1612d1621d2d1bfa141796

Contents?: true

Size: 547 Bytes

Versions: 16

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

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 && LOGSTER_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec rackup --host 0.0.0.0")
    pid2 = spawn("cd client-app && ember s --proxy http://localhost:9292")
    Process.wait pid
    Process.wait pid2
  rescue Interrupt => e
    sleep 0.5
    puts "Done!"
    exit 0
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
logster-2.10.1 Rakefile
logster-2.10.0 Rakefile
logster-2.9.8 Rakefile
logster-2.9.7 Rakefile
logster-2.9.6 Rakefile
logster-2.9.5 Rakefile
logster-2.9.4 Rakefile
logster-2.9.3 Rakefile
logster-2.9.2 Rakefile
logster-2.9.1 Rakefile
logster-2.9.0 Rakefile
logster-2.8.0 Rakefile
logster-2.7.1 Rakefile
logster-2.7.0 Rakefile
logster-2.6.3 Rakefile
logster-2.6.2 Rakefile