diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..1aa98e4 --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source "http://rubygems.org" +gemspec diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..83e0126 --- /dev/null +++ b/Gemfile.lock @@ -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 diff --git a/Rakefile b/Rakefile index e69de29..fd939cf 100644 --- a/Rakefile +++ b/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 # }}} diff --git a/teamocil.gemspec b/teamocil.gemspec index 58e6a29..6111886 100644 --- a/teamocil.gemspec +++ b/teamocil.gemspec @@ -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