Sha256: 5ba9daa6ea409244130d61ec240fc442f0dbb42a550a69d138b8074ca1fac980

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

task :default => 'main'

task 'main' => ['models.rb'] do
  sh "ruby main.rb"
end

file 'models.rb' => ['BABEL.schema.yaml'] do
  sh "kwalify -a genclass-ruby -f BABEL.schema.yaml -tP --hashlike --module=Babel --initialize=false > models.rb"
end

task 'clean' do
  rm_f 'models.rb'
end

Version data entries

10 entries across 8 versions & 4 rubygems

Version Path
dc-kwalify-1.0.0 examples/data-binding/Rakefile
dc-kwalify-0.7.2 examples/data-binding/Rakefile
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/kwalify-0.7.2/examples/data-binding/Rakefile
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/kwalify-0.7.2/examples/data-binding/Rakefile
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/kwalify-0.7.2/examples/data-binding/Rakefile
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/kwalify-0.7.2/examples/data-binding/Rakefile
kwalify-0.7.2 examples/data-binding/Rakefile
ddao-kwalify-0.7.1 examples/data-binding/Rakefile
kwalify-0.7.0 examples/data-binding/Rakefile
kwalify-0.7.1 examples/data-binding/Rakefile