Skip to content
Browse files

formatting

  • Loading branch information...
1 parent c9e376a commit e105ef2858d63396a1b95dda11d0b400d5ef3c5a @pietia pietia committed Oct 1, 2011
Showing with 15 additions and 37 deletions.
  1. +15 −37 README.md
View
52 README.md
@@ -5,11 +5,13 @@ dm-hibernate-adapter aka jibernate
Installation:
-------------
- jruby -S gem install ruby-maven
+* Install ruby-maven wrapper
-setup the gems and compile the java extension
+ `jruby -S gem install ruby-maven`
- rmvn clean gem:initialize compile -- -Djruby.version=1.6.4
+* setup the gems and compile the java extension
+
+ `rmvn clean gem:initialize compile -- -Djruby.version=1.6.4`
ruby-maven
----------
@@ -46,41 +48,19 @@ Howtos:
### Specs
-* AbstractAdapter specs:
-
- `rmvn rake spec:adapter -- -o`
-or
- `rmvn test -- -Padapter -o`
-
-* dm-core specs:
-
- `rmvn rake spec:dm -- -o`
-or
- `rmvn test -- -Pdm -o`
-
-* transient specs:
-
- `rmvn rake spec:transient -- -o`
-or
- `rmvn test -- -Ptransient -o`
-
-when using `rmvn test` there will be a nice html rspec report in **target/rspec-report.html**.
-to get debug output use (use '--' only once which denotes the beginning of maven options)
+Test suites:
- `-- -Djruby.verbose -e`
+* AbstractAdapter specs: `rmvn rake spec:adapter -- -o` or `rmvn test -- -Padapter -o`
+* dm-core specs: `rmvn rake spec:dm -- -o` or `rmvn test -- -Pdm -o`
+* transient specs: `rmvn rake spec:transient -- -o` or `rmvn test -- -Ptransient -o`
-you can switch the jruby version by adding to the above commands
-
- `-- -Djruby.version=1.6.3`
-
-if you are getting OutOfMemory errors, you should try to tune jruby-maven-plugin's [settings](https://github.com/mkristian/jruby-maven-plugins) and set them as properties in 'Mavenfile' - see in that file
-
- `properties['jruby.jvmargs'] = '-Xmx1024m'`
-
-if you are getting problems with specs you can skip that phase:
-
- `-- -Dmaven.test.skip=true`
+Tips:
+* when using `rmvn test` there will be a nice html rspec report in **target/rspec-report.html**.
+to get debug output use (use '--' only once which denotes the beginning of maven options) `-- -Djruby.verbose -e`
+* you can switch the jruby version by adding to the above commands `-- -Djruby.version=1.6.3`
+* if you are getting OutOfMemory errors, you should try to tune jruby-maven-plugin's [settings](https://github.com/mkristian/jruby-maven-plugins) and set them as properties in 'Mavenfile' - see in that file (ie. `properties['jruby.jvmargs'] = '-Xmx1024m'`)
+* if you are getting problems with specs you can skip that phase: `-- -Dmaven.test.skip=true`
Authors
-------
@@ -93,5 +73,3 @@ License
See `LICENSE.md`
-
-

0 comments on commit e105ef2

Please sign in to comment.
Something went wrong with that request. Please try again.