From 615b7842fc5c7f9b171e647771da53f21666ad63 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Mon, 16 Dec 2024 13:14:29 +0100 Subject: [PATCH] Readme: mention "update appList" gradle task --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77e9c99..3e06adf 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ see [openrndr-template](https://github.com/openrndr/openrndr-template). ## Developing -To get started developing, run +To get started run ```bash ./gradlew jsRun -t @@ -22,7 +22,11 @@ displayed as clickable buttons in the resulting web page. For educational purpos button is displayed at the bottom right to view the source code of the program. -Programs to be displayed in the web page should be added to `myApps` in `TemplateProgram.kt`. +After adding, renaming or removing programs from this project one should update `appList.kt`. Run the following Gradle task to generate the file automatically + +```bash +./gradlew "update appList" +``` ## Exporting @@ -35,7 +39,7 @@ Once the project is ready to be shared, one can export a minimized executable by ``` This will place the resulting files into the - `build/dist/js/productionExecutable/` folder.. + `build/dist/js/productionExecutable/` folder. ## JavaScript communication