You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/Rakefile

24 lines
440 B

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