From d560f249baac59c74d74a61b1b08c07ac78e0a56 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Wed, 18 Dec 2013 17:34:49 +0400 Subject: [PATCH] Updates description of build process --- README.md | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 2ddec942b..4e88b252e 100644 --- a/README.md +++ b/README.md @@ -51,28 +51,17 @@ Third, you add `teavm-maven-plugin` in your build configuration: process-classes - true + true org.teavm.samples.HelloWorld + true -Now you can execute `mvn clean package` and get the generated JavaScript file `target/javascript/classes.js`. -It contains the `main` global function, which you may call. In the general case you should provide -an HTML page, which includes both of -[runtime.js](https://github.com/konsoletyper/teavm/blob/master/teavm-core/src/main/resources/org/teavm/javascript/runtime.js) -and `classes.js` files and calls `main` function in some condition. Here is an example: - - - - -