Cuke4Duke is an addon to Cucumber, making it possible to write step definitions in several different JVM languages.
First, cd to cuke4duke and run mvn install once. This will install JRuby under your Maven repo.
GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S gem install rake jeweler celerity gherkin cucumber # When rspec 2.0 is released - drop the --pre option GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S gem install rspec --pre
Before release:
- Update version in all pom.xml files, and cuke4duke/VERSION
- Update Cucumber dependency in cuke4duke/Rakefile
- Update Gherkin dependency in cuke4duke/pom.xml
- pushd cuke4duke && GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S rake install && popd
- rake i18n_generate
- mvn -P examples clean install -Dcuke4duke.bin=cuke4duke/bin/cuke4duke
If all ok:
- rake release