Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (22 sloc) 0.786 kb
17fc3b4 @sferik Add shebang line to Rakefile
sferik authored
1 #!/usr/bin/env rake
2
f29a61b @colszowka Added appraisal gem for testing against different gem dependency vers…
authored
3 require 'rubygems'
4 require 'bundler/setup'
5 require 'appraisal'
fdcd16f @colszowka Goodbye Jeweler, you were a good friend. Welcome Bundler.
authored
6 Bundler::GemHelper.install_tasks
bb9fb63 @colszowka Initial commit to simplecov.
authored
7
8203b79 @colszowka Added fix_permissions rake task that enforces canonical file permissi…
authored
8 # See https://github.com/colszowka/simplecov/issues/171
9 desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
10 task :fix_permissions do
11 system 'bash -c "find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \;"'
12 end
13 # Enforce proper permissions on each build
14 Rake::Task[:build].prerequisites.unshift :fix_permissions
15
bb9fb63 @colszowka Initial commit to simplecov.
authored
16 require 'rake/testtask'
17 Rake::TestTask.new(:test) do |test|
18 test.libs << 'lib' << 'test'
9d64656 @colszowka Made Rake TestTask definition compatible with 1.9.3-preview1
authored
19 test.test_files = FileList['test/test_*.rb']
bb9fb63 @colszowka Initial commit to simplecov.
authored
20 test.verbose = true
d17116f @mvz Turn on warnings in tests.
mvz authored
21 test.warning = true
bb9fb63 @colszowka Initial commit to simplecov.
authored
22 end
23
0c95ac6 @colszowka Basic setup for cucumber integration tests added
authored
24 require 'cucumber/rake/task'
6b08424 @sferik Cleanup trailing whitespace
sferik authored
25 Cucumber::Rake::Task.new
5dff69a @sferik Run cukes by default
sferik authored
26
27 task :default => [:test, :cucumber]
Something went wrong with that request. Please try again.