Sha256: ad6304976ee3236aac1651894da283b3345ae5d7d92aa12e18051b32448ec5cd

Contents?: true

Size: 483 Bytes

Versions: 30

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

require "rspec/core/rake_task"
require "standard/rake"

RSpec::Core::RakeTask.new(:spec)

task default: :spec

desc "run rackup (via rerun)"
task :rackup do
  sh "rerun --pattern '{Gemfile.lock,lib/**/*.rb,lib/*.rb}' -- rackup config.ru"
end

def ci?
  ENV.fetch("CI", false)
end

unless ci?
  task :build do
    sh "./build_frontend.sh"
  end
end

# require it later enables doing pre-build step (= build the frontend app)
require "bundler/gem_tasks"

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mihari-7.1.0 Rakefile
mihari-7.0.5 Rakefile
mihari-7.0.4 Rakefile
mihari-7.0.3 Rakefile
mihari-7.0.2 Rakefile
mihari-7.0.1 Rakefile
mihari-7.0.0 Rakefile
mihari-6.3.0 Rakefile
mihari-6.2.0 Rakefile
mihari-6.1.0 Rakefile
mihari-6.0.0 Rakefile
mihari-5.7.2 Rakefile
mihari-5.7.1 Rakefile
mihari-5.7.0 Rakefile
mihari-5.6.2 Rakefile
mihari-5.6.1 Rakefile
mihari-5.6.0 Rakefile
mihari-5.5.0 Rakefile
mihari-5.4.9 Rakefile
mihari-5.4.8 Rakefile