From da2d9d3aa9372d6b0c92a0a78f605458e2ba1b21 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Mon, 27 Mar 2023 18:34:20 +0200 Subject: [PATCH] Update README: fix `--P` Fix the incorrect formatting in the cross-build example. Add link to read about Gradle. Mention TemplateLiveProgram.kt. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6ba72c0..50cbac3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # OPENRNDR template project -A feature rich template for creating OPENRNDR programs based on Gradle/Kts +A feature rich template for creating OPENRNDR programs based on [Gradle/Kts](https://en.wikipedia.org/wiki/Gradle). -The template consists of a configuration for Gradle and an example OPENRNDR program. The Gradle configuration should serve as the +The template consists of a configuration for Gradle and two example OPENRNDR programs. The Gradle configuration should serve as the go-to starting point for writing OPENRNDR-based software. -If you are looking at this from IntelliJ IDEA you can start by expanding the _project_ tab on the left. You will find a template program in `src/main/kotlin/TemplateProgram.kt` +If you are looking at this from IntelliJ IDEA you can start by expanding the _project_ tab on the left. You will find a template program in `src/main/kotlin/TemplateProgram.kt` and a live-coding example in `src/main/kotlin/TemplateLiveProgram.kt`. You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirstProgram.html) in the [OPENRNDR guide](https://guide.openrndr.org) @@ -17,7 +17,7 @@ You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirs ## Cross builds -To create runnable jars for a platform different from the platform you use to build one uses `./gradlew jar --PtargetPlatform=`. The supported platforms are `windows`, `macos`, `linux-x64` and `linux-arm64`. +To create a runnable jar for a platform different from your current platform, use `./gradlew jar -PtargetPlatform=`, where `` is either `windows`, `macos`, `linux-x64`, or `linux-arm64`. ## Updating OPENRNDR, ORX and other dependencies @@ -27,7 +27,7 @@ Newer versions of OPENRNDR and ORX bring useful features and bug fixes. The most
![openrndr version](https://maven-badges.herokuapp.com/maven-central/org.openrndr/openrndr/badge.svg) for OPENRNDR.
![orx version](https://maven-badges.herokuapp.com/maven-central/org.openrndr.extra/orx-parameters-jvm/badge.svg) for ORX. -You can use those versions numbers in your toml file. They can look like "0.4.3" or "0.4.3-alpha4". Use the complete string, as in: +You can use those version numbers in your toml file. They can look like "0.4.3" or "0.4.3-alpha4". Use the complete string, as in: openrndr = "0.4.3-alpha4" orx = "0.4.3-alpha3"