forked from flogic/whiskey_disk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
32 lines (27 loc) · 981 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
require 'rake'
require 'rake/testtask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test Whiskey Disk'
task :test do
files = Dir['spec/**/*_spec.rb'].join(" ")
system("bacon #{files}")
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "whiskey_disk"
gemspec.summary = "embarrassingly fast deployments."
gemspec.description = "Opinionated gem for doing fast git-based server deployments."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/flogic/whiskey_disk"
gemspec.authors = ["Rick Bradley"]
gemspec.add_dependency('rake')
# I've decided that the integration spec shizzle shouldn't go into the gem
gemspec.files.exclude 'scenarios', 'spec/integration'
gemspec.test_files.exclude 'scenarios', 'spec/integration'
end
Jeweler::GemcutterTasks.new
rescue LoadError
# if you get here, you need Jeweler installed to do packaging and gem installation, yo.
end