Sha256: ca841e3ac0c46c665d9a2039c81614ac771dd58f5a58371dec1f0fad9bfea9d3

Contents?: true

Size: 509 Bytes

Versions: 3

Compression:

Stored size: 509 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

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

require 'rubocop/rake_task'
RuboCop::RakeTask.new

task default: %i[rubocop spec]

CLOBBER.include(%w[pkg node_bin])

desc 'Compile the Node dependencies'
task :node_compile do
  sh 'yarn run pkg bin/holidays-to-json.js --out-path=node_bin --targets=macos-x64,linux-x64'
end

# Add node_compile as a dependency to the existing build task defined by bundler:
task build: :node_compile

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
date_holidays-reader-1.0.4 Rakefile
date_holidays-reader-1.0.3 Rakefile
date_holidays-reader-1.0.2 Rakefile