Sha256: 79014563b47dfc70c81d6cb1e284cf5c9a4001dac0f9e3156c3c180281525ec1

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

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

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

task default: :spec

task build: :assets

desc 'Preprocess assets'
task :assets do
  npm_output = `cd src/javascript/calculator && npm run build`
  puts npm_output
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
attractor-javascript-0.3.0 Rakefile
attractor-javascript-0.2.0 Rakefile
attractor-javascript-0.1.0 Rakefile