bit of refactoring and adding zamioculcas bin
This commit is contained in:
13
Rakefile
13
Rakefile
@@ -1,10 +1,11 @@
|
||||
require "bundler/gem_tasks"
|
||||
require "bundler/setup" # load up our gem environment (incl. local zanzibar)
|
||||
require 'rspec/core/rake_task'
|
||||
require 'zanzibar/version'
|
||||
|
||||
task 'test' do
|
||||
Dir.chdir('test')
|
||||
system("rspec zanzibar_spec.rb")
|
||||
end
|
||||
RSpec::Core::RakeTask.new(:test)
|
||||
|
||||
task 'install_dependencies' do
|
||||
system('bundle install')
|
||||
task :install_local do
|
||||
system "rake build"
|
||||
system "gem install ./pkg/zanzibar-#{Zanzibar::VERSION}.gem"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user