devdocs/Rakefile
2015-03-01 18:52:04 -05:00

19 lines
356 B
Ruby

#!/usr/bin/env rake
require 'bundler/setup'
require 'thor'
$LOAD_PATH.unshift 'lib'
task :default do
$LOAD_PATH.unshift 'test'
Dir['test/**/*_test.rb'].map(&File.method(:expand_path)).each(&method(:require))
end
namespace :assets do
desc 'Compile all assets'
task :precompile do
load 'tasks/assets.thor'
AssetsCLI.new.compile
end
end