Skip to content

Commit

Permalink
Add rake task to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewRadev committed Jun 2, 2012
1 parent b209617 commit d79b482
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'http://rubygems.org' source 'http://rubygems.org'


gem 'rake'
gem 'rspec' gem 'rspec'
gem 'vimrunner' gem 'vimrunner'
gem 'pry' gem 'pry'
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ GEM
coderay (~> 1.0.5) coderay (~> 1.0.5)
method_source (~> 0.7) method_source (~> 0.7)
slop (>= 2.4.4, < 3) slop (>= 2.4.4, < 3)
rake (0.9.2.2)
rspec (2.10.0) rspec (2.10.0)
rspec-core (~> 2.10.0) rspec-core (~> 2.10.0)
rspec-expectations (~> 2.10.0) rspec-expectations (~> 2.10.0)
Expand All @@ -24,5 +25,6 @@ PLATFORMS


DEPENDENCIES DEPENDENCIES
pry pry
rake
rspec rspec
vimrunner vimrunner
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,7 @@
task :default do
sh 'rspec spec'
end

desc "Prepare archive for deployment" desc "Prepare archive for deployment"
task :archive do task :archive do
sh 'zip -r ~/splitjoin.zip autoload/ doc/splitjoin.txt ftplugin/ plugin/' sh 'zip -r ~/splitjoin.zip autoload/ doc/splitjoin.txt ftplugin/ plugin/'
Expand Down

0 comments on commit d79b482

Please sign in to comment.