diff --git a/.github/readme.md b/.github/readme.md index 510db670..d77ee1d3 100644 --- a/.github/readme.md +++ b/.github/readme.md @@ -6,7 +6,7 @@ vgo is a tool for optimizing vector artwork files that helps ensure your vector ## Installation -Download the distribution from the releases page. Unzip it. Add the `bin` folder to your path. +Download the distribution from the releases page and ensure it has execute permission. On macOS & Linux run `chmod +x vgo`. ## Command Line Interface @@ -22,6 +22,8 @@ Options: --format [value] output format (svg, vd, etc) - ALPHA ``` +> `java -jar vgo` for Windows + ## Examples ``` @@ -42,7 +44,7 @@ Options: This project uses the Gradle build system. -To run the application: `/.gradlew run --args="[arguments]"` +To build the binary: `/.gradlew binary` To run the tests: `./gradlew check` diff --git a/changelog.md b/changelog.md index 49e939a9..8a2cadf9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,12 @@ Change Log ========== +## 1.2.0 +_09.28.2020_ + +* Improvement: Resort to distribution via a fat jar. Requires managing fewer files and results in a smaller installation since R8 can operate on classes from dependencies as well. +* Improvement: Use R8 for optimization. R8 produces a slightly smaller jar and in some cases faster code as well. + ## 1.1.1 _07.13.2020_ diff --git a/vgo/build.gradle.kts b/vgo/build.gradle.kts index 82dbb2f2..0a8cd979 100644 --- a/vgo/build.gradle.kts +++ b/vgo/build.gradle.kts @@ -120,7 +120,11 @@ tasks { val binaryFile = file("$buildDir/libs/vgo") val binary by registering { + description = "Prepends shell script in the jar to improve CLI" + group = "build" + dependsOn(optimize) + inputs.file(optimizedJar) outputs.file(binaryFile) diff --git a/vgo/build.properties b/vgo/build.properties index 0d180a0d..d27d704f 100644 --- a/vgo/build.properties +++ b/vgo/build.properties @@ -1 +1 @@ -version=1.1.1 \ No newline at end of file +version=1.2.0 \ No newline at end of file