docs: reference jfgit
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-08-28 12:04:45 +02:00
parent d02e9f697a
commit cbed8270f3
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Respackopts uses "conditions" for deciding what files to load.
Respackopts conditions are usually a simple string with the entry name Respackopts conditions are usually a simple string with the entry name
(for example, `someTexture`), (for example, `someTexture`),
however, respackopts provides various additional features to enhance their functionality. however, respackopts provides various additional features to enhance their functionality.
This functionality is powered by the [μScript language](https://gitlab.com/JFronny/java-commons/-/tree/master/muscript) This functionality is powered by the [μScript language](https://git.frohnmeyer-wds.de/Johannes/java-commons/src/branch/master/muscript/src/test/resources/example.md)
This page will provide a quick overview over the available operations. This page will provide a quick overview over the available operations.
For more complete documentation, use the above link. For more complete documentation, use the above link.

View File

@ -2,7 +2,7 @@
Sometimes, you may wish to use respackopts values inside your text files (for example as model transforms), Sometimes, you may wish to use respackopts values inside your text files (for example as model transforms),
without switching between a bunch of similar files. For this purpose, respackopts allows replacing text in files via resource expansion. without switching between a bunch of similar files. For this purpose, respackopts allows replacing text in files via resource expansion.
You can use the `expansions` block in your .rpo to replace content with a value computed through executing a custom [μScript](https://gitlab.com/JFronny/java-commons/-/tree/master/muscript) block. You can use the `expansions` block in your .rpo to replace content with a value computed by executing a custom [μScript](https://git.frohnmeyer-wds.de/Johannes/java-commons/src/branch/master/muscript/src/test/resources/example.md) expression.
Values can be accessed in the script in the same exact way as in condition objects, Values can be accessed in the script in the same exact way as in condition objects,
as the same language and object representation is used, though the result of a script is a string and not a boolean here. as the same language and object representation is used, though the result of a script is a string and not a boolean here.