Skip to content

Commit

Permalink
Added testing and publishing instructions to 'README.md'
Browse files Browse the repository at this point in the history
  • Loading branch information
superbobry authored Jun 27, 2016
1 parent 5a62c9e commit 64420d3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,37 @@ $ ./gradlew assemble
```

[boost.simd]: https://github.com/NumScale/boost.simd

Testing
-------

No extra configuration is required for running the tests from Gradle

```bash
$ ./gradlew test
```

However, you might need to alter `java.library.path` to run the tests from
the IDE. The following Java command line option should work for IDEA

```bash
-Djava.library.path=./build/libs
```

Publishing
----------

You can do it with a one-liner

```bash
./gradlew clean assemble generatePomFileForMavenJavaPublication bintrayUpload
```

Make sure to set Bintray credentials (see API key section
[here](https://bintray.com/profile/edit)) in `$HOME/.gradle/gradle.properties`.

```
$ cat $HOME/.gradle/gradle.properties
bintrayUser=CHANGEME
bintrayKey=CHANGEME
```

0 comments on commit 64420d3

Please sign in to comment.