-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
38 lines (29 loc) · 642 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#coding: utf-8
#
desc "Prepare bundler"
task :bundleup do
sh 'gem install bundler --version "~> 1.3.1" --no-rdoc --no-ri'
end
desc "Requires"
task :req do
$: << File.expand_path( '../lib', __FILE__ )
require 'bundler/gem_helper'
Bundler::GemHelper.install_tasks
end
desc "Prepare bundle environment"
task :up do
sh 'bundle install'
end
desc "Distilled clean"
task :distclean do
sh 'git clean -fd'
sh 'rm -rf $(find -iname "*~")'
end
task :book do
sh 'knigodej -s znamen.bs.yml -b "Суточный круг+"'
end
task :all do
sh 'knigodej -s znamen.bs.yml'
end
task(:default).clear
task :default => :book