Mention Maven and RubyGems in README
This commit is contained in:
parent
8b825e8fd8
commit
ac6e04185f
16
README.md
16
README.md
|
@ -99,12 +99,18 @@ hyperbuild is available via [JNI](https://github.com/jni-rs/jni-rs), and support
|
||||||
|
|
||||||
##### Get
|
##### Get
|
||||||
|
|
||||||
Download the [JAR](https://wilsonl.in/hyperbuild/bin/0.0.28.jar) file.
|
Add as a Maven dependency:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>in.wilsonl.hyperbuild</groupId>
|
||||||
|
<artifactId>hyperbuild</artifactId>
|
||||||
|
<version>0.0.28</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
##### Use
|
##### Use
|
||||||
|
|
||||||
Make sure to add the JAR file to the class path.
|
|
||||||
|
|
||||||
```java
|
```java
|
||||||
import in.wilsonl.hyperbuild.Hyperbuild;
|
import in.wilsonl.hyperbuild.Hyperbuild;
|
||||||
|
|
||||||
|
@ -143,11 +149,11 @@ minified = hyperbuild.minify("<p> Hello, world! </p>")
|
||||||
<details>
|
<details>
|
||||||
<summary><strong>Ruby</strong></summary>
|
<summary><strong>Ruby</strong></summary>
|
||||||
|
|
||||||
hyperbuild is available as a [native module](https://github.com/danielpclark/rutie) for macOS and Linux, and supports Ruby versions 2.5 and higher.
|
hyperbuild is published on RubyGems, available as a [native module](https://github.com/danielpclark/rutie) for macOS and Linux, and supports Ruby versions 2.5 and higher.
|
||||||
|
|
||||||
##### Get
|
##### Get
|
||||||
|
|
||||||
Download and install the [gem](https://wilsonl.in/hyperbuild/bin/0.0.28.gem).
|
Add the library as a dependency to `Gemfile` or `*.gemspec`.
|
||||||
|
|
||||||
##### Use
|
##### Use
|
||||||
|
|
||||||
|
|
2
version
2
version
|
@ -64,7 +64,7 @@ for (const f of ["ruby/hyperbuild.gemspec"]) {
|
||||||
replaceInFile(f, /^(\s*spec\.version\s*=\s*)"\d+\.\d+\.\d+"\s*$/m, `$1"${NEW_VERSION}"`);
|
replaceInFile(f, /^(\s*spec\.version\s*=\s*)"\d+\.\d+\.\d+"\s*$/m, `$1"${NEW_VERSION}"`);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const f of ["java/pom.xml"]) {
|
for (const f of ["java/pom.xml", "README.md"]) {
|
||||||
replaceInFile(f, /(<artifactId>hyperbuild<\/artifactId>\s*<version>)\d+\.\d+\.\d+(<\/version>)/, `$1${NEW_VERSION}$2`);
|
replaceInFile(f, /(<artifactId>hyperbuild<\/artifactId>\s*<version>)\d+\.\d+\.\d+(<\/version>)/, `$1${NEW_VERSION}$2`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue