Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (37 sloc) 0.988 kb
7ce0378 @paulca OH YEAH I HAVE AN ACHIEVEMENT GENERATOR. SOMEONE GIVE ME AN ACHIEVEMENT!
authored
1 require 'rake'
2 require 'spec/rake/spectask'
3
4 desc 'Default: run specs.'
5 task :default => :spec
6
7 desc 'Run the specs'
8 Spec::Rake::SpecTask.new(:spec) do |t|
9 t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
10 t.spec_files = FileList['spec/**/*_spec.rb']
11 end
12
13 PKG_FILES = FileList[
14 '[a-zA-Z]*',
15 'app/**/*',
16 'generators/**/*',
17 'config/*',
18 'lib/**/*',
19 'rails/**/*',
20 'spec/**/*',
21 'features/**/*'
22 ]
23
24 begin
25 require 'jeweler'
26 Jeweler::Tasks.new do |s|
5d301ff @paulca it's called paths_of_gloy
authored
27 s.name = "paths_of_glory"
0d41ea4 @paulca remove behavior dep
authored
28 s.version = "0.1.5"
7ce0378 @paulca OH YEAH I HAVE AN ACHIEVEMENT GENERATOR. SOMEONE GIVE ME AN ACHIEVEMENT!
authored
29 s.author = "Paul Campbell"
30 s.email = "paul@rslw.com"
5d301ff @paulca it's called paths_of_gloy
authored
31 s.homepage = "http://www.github.com/paulca/paths_of_glory"
7ce0378 @paulca OH YEAH I HAVE AN ACHIEVEMENT GENERATOR. SOMEONE GIVE ME AN ACHIEVEMENT!
authored
32 s.platform = Gem::Platform::RUBY
33 s.summary = "Getting you started on the road to achievements."
34 s.files = PKG_FILES.to_a
35 s.has_rdoc = false
36 s.extra_rdoc_files = ["README.md"]
37 end
38 rescue LoadError
39 puts "Jeweler not available. Install it with: sudo gem install jeweler"
40 end
41
42 Jeweler::GemcutterTasks.new
Something went wrong with that request. Please try again.