mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Samples: add readme file
This commit is contained in:
parent
073a444cc9
commit
c9d97b7144
|
@ -20,6 +20,7 @@ Useful links:
|
||||||
|
|
||||||
Simply clone source code (`git clone https://github.com/konsoletyper/teavm.git`)
|
Simply clone source code (`git clone https://github.com/konsoletyper/teavm.git`)
|
||||||
and run Gradle build (`./gradlew publishToMavenLocal` or `gradlew.bat publishToMavenLocal`).
|
and run Gradle build (`./gradlew publishToMavenLocal` or `gradlew.bat publishToMavenLocal`).
|
||||||
|
You should build samples separately, as described in [corresponding readme file](samples/README.md).
|
||||||
|
|
||||||
|
|
||||||
### Useful Gradle tasks
|
### Useful Gradle tasks
|
||||||
|
|
9
samples/README.md
Normal file
9
samples/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
To build these samples, you should do one of:
|
||||||
|
|
||||||
|
* Publish TeaVM into local repository as described in [main readme](../README.md) (preferred way).
|
||||||
|
* Take `build.gradle.kts` and update TeaVM version to the most recent version, published in Maven Central.
|
||||||
|
Please, refer to [main readme](../README.md) for a badge with recent version number.
|
||||||
|
|
||||||
|
To quickly tests built war file, you can run `./gradlew :<example-name>:appRunWar` or
|
||||||
|
`gradlew bat :<example-name>:appRunWar`.
|
||||||
|
Note that some examples also provide WASI and native binaries, please refer to corresponding build files.
|
Loading…
Reference in New Issue
Block a user