File: Rakefile

package info (click to toggle)
ruby-diaspora-vines 0.2.0.develop.4-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,352 kB
  • ctags: 1,463
  • sloc: ruby: 12,013; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# encoding: UTF-8

require 'rake'
require 'rake/clean'
require 'rake/testtask'

CLOBBER.include('pkg')

directory 'pkg'

desc 'Build distributable packages'
task :build => [:pkg] do
  system 'gem build vines.gemspec && mv vines-*.gem pkg/'
end

Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.libs << 'test/storage'
  test.pattern = 'test/**/*_test.rb'
  test.warning = false
end

task :default => [:clobber, :test, :build]