the S2 deployment-engine
Buidling the gem
gem build depengine.gemspec
Usage
- rvm use 1.9.3
- bundle install
- bundle exec depengine
Running specs
To run the specs, your machine needs to fulfill some requirements:
- mail_spec.rb: be able to send and receive mails on localhost (e.g. install postfix on linux and set it to "local only")
- repository_spec.rb: be able to SSH into your own machine via public_key_auth (e.g. putting your .ssh/id_rsa_pub in your .ssh/authorized_keys)
- zip_spec.rb: have a unzip programm installed (e.g. apt-get install zip)
There is a somewhat simplistic script to get a suitable environment up and running. Have a look at bin/spec_setup.
rspec