Add Gemfile and Rake tasks
This commit is contained in:
parent
a9f3a88be3
commit
1d9e059620
32
Gemfile.lock
Normal file
32
Gemfile.lock
Normal file
@ -0,0 +1,32 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
teamocil (0.1.10)
|
||||
|
||||
GEM
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
diff-lcs (1.1.3)
|
||||
maruku (0.6.0)
|
||||
syntax (>= 1.0.0)
|
||||
rake (0.9.2)
|
||||
rspec (2.6.0)
|
||||
rspec-core (~> 2.6.0)
|
||||
rspec-expectations (~> 2.6.0)
|
||||
rspec-mocks (~> 2.6.0)
|
||||
rspec-core (2.6.4)
|
||||
rspec-expectations (2.6.0)
|
||||
diff-lcs (~> 1.1.2)
|
||||
rspec-mocks (2.6.0)
|
||||
syntax (1.0.0)
|
||||
yard (0.7.2)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
maruku
|
||||
rake
|
||||
rspec
|
||||
teamocil!
|
||||
yard
|
9
Rakefile
9
Rakefile
@ -0,0 +1,9 @@
|
||||
desc "Run specs"
|
||||
task :spec do # {{{
|
||||
sh "bundle exec rspec --color --format=nested #{File.join(File.dirname(__FILE__), "spec/layout.rb")}"
|
||||
end # }}}
|
||||
|
||||
desc "Generate documentation"
|
||||
task :doc do # {{{
|
||||
sh "bundle exec yard doc"
|
||||
end # }}}
|
@ -11,6 +11,9 @@ spec = Gem::Specification.new do |s|
|
||||
s.require_path = "lib"
|
||||
s.executables << "teamocil"
|
||||
|
||||
s.add_development_dependency("rake")
|
||||
s.add_development_dependency("rspec")
|
||||
s.add_development_dependency("yard")
|
||||
s.add_development_dependency("maruku")
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user