Sha256: 3246299af8e687541c1c3625d6c62c370bc8e2714eb64c70bef4362fc45c8a0e

Contents?: true

Size: 520 Bytes

Versions: 3

Compression:

Stored size: 520 Bytes

Contents

task default: [:test, :rubocop, :yard]

desc "Run tests"
task :test do
  system "rspec"
end

desc "Run RuboCop"
task :rubocop do
  system "rubocop --display-cop-names"
end

desc "Generate YARD documentation"
task :yard do
  system "yardoc --use-cache"
end

EV3_YML = "data/ev3.yml".freeze
GENERATOR = "tools/ops_from_yml".freeze
OPS = "lib/lignite/ev3_ops.rb".freeze

desc "Regenerate the EV3 assembler operations"
task ops: OPS

file OPS => [EV3_YML, GENERATOR] do |t|
  sh GENERATOR, t.prerequisites.first, t.name
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lignite-0.6.0 Rakefile
lignite-0.5.0 Rakefile
lignite-0.4.0 Rakefile