Sha256: 60936588ae1b71d02180abb62ed6070532e2c57e2fde44b96b4cedb5b7009d51

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

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

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

task default: :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.1 Rakefile
date_holidays-reader-1.0.0 Rakefile
date_holidays-reader-0.9.9 Rakefile