Sha256: c0b96f1803cea612a9004eb4a1ff70830aa72add3aa7a9975ac869a39fa7da4d

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

$LOAD_PATH << File.dirname(__FILE__) + "/lib"
require "rake/testtask"
require "unified_assets/tasks"

task :default => :test

#------------------------------------------------------------------------------

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList["test/**/*_test.rb"]
  t.verbose = true
end

#------------------------------------------------------------------------------

UnifiedAssets::Tasks.new do |t|
  t.minify = true
  t.assets = {
    "test/reference/unified.js" => [
      'test/js/a.js',
      'test/js/b.js',
      'test/js/c.js'
    ],
    "test/reference/unified.css" => [
      'test/css/a.css',
      'test/css/b.css',
      'test/css/c.css'
    ]
  }
end

#------------------------------------------------------------------------------

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unified-assets-0.0.1 Rakefile