Sha256: fc855c75bfbf01b3cc0f0ed14345b8dd3a82d6ecab1f55afcd07b135a14a7ae4

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "ts_assets"

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

task :generate do
  TS_ASSETS_FILENAME = "__tests__/build/assets.tsx"
  source = TsAssets.generate(include: "__tests__/assets/images")
  File.write TS_ASSETS_FILENAME, source
end

task :default => :spec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ts_assets-0.1.1 Rakefile
ts_assets-0.1.0 Rakefile