Sha256: 8dafa7020e90d8f45aaed2be645ed1488790f12f1e0f7c1f9b148a5230e5abac

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec)
  task default: :spec
rescue LoadError
  # no rspec available
end

task(:codegen) do
  sh('swagger-codegen', 'generate', '-i', 'https://dkron.io/swagger.yaml', '-l', 'ruby', '-o', '.', '-c', 'config.json')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dkron-rb-0.11.2 Rakefile
dkron-rb-0.10.0 Rakefile