Sha256: 37628b662d358a72b1232072142c220228f81ac422a5817c3677888b281302cb

Contents?: true

Size: 551 Bytes

Versions: 16

Compression:

Stored size: 551 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 && npx 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.18.1 Rakefile
logster-2.18.0 Rakefile
logster-2.17.1 Rakefile
logster-2.17.0 Rakefile
logster-2.16.0 Rakefile
logster-2.15.0 Rakefile
logster-2.14.0 Rakefile
logster-2.13.1 Rakefile
logster-2.13.0 Rakefile
logster-2.12.2 Rakefile
logster-2.12.1 Rakefile
logster-2.11.4 Rakefile
logster-2.11.3 Rakefile
logster-2.11.2 Rakefile
logster-2.11.1 Rakefile
logster-2.11.0 Rakefile