royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [royale-asjs.wiki] branch master updated: Simplified the instructions a bit
Date Thu, 16 Nov 2017 10:56:58 GMT
This is an automated email from the ASF dual-hosted git repository.

erikdebruin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-asjs.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new a6a14b2  Simplified the instructions a bit
a6a14b2 is described below

commit a6a14b224bcbe945a1f9195166498df9d5750a71
Author: Erik de Bruin <erik@ixsoftware.nl>
AuthorDate: Thu Nov 16 11:56:50 2017 +0100

    Simplified the instructions a bit
    
    Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
---
 User-Manual-AS2WASM.md | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/User-Manual-AS2WASM.md b/User-Manual-AS2WASM.md
index a78126d..68605d7 100644
--- a/User-Manual-AS2WASM.md
+++ b/User-Manual-AS2WASM.md
@@ -1,9 +1,27 @@
 # Prepare
 ## Set up your system
 
-Install [Node.js and NPM](https://nodejs.org/en/download/).
+Your system will need to have the following tools available/installed:
+- [Java](https://github.com/apache/royale-asjs#java)
+- [Ant](https://github.com/apache/royale-asjs#ant)
+- [Node and npm](https://docs.npmjs.com/getting-started/installing-node)
+- [playerglobal.swc](https://github.com/apache/royale-asjs#playerglobalswc)
 
-Next, set up the requirements for the Royale ASJS SDK, following [these instructions](https://github.com/apache/royale-asjs#prerequisites).
+### Make and CMake
+
+The build of *wat2wasm* requires make and CMake to be installed on your computer:
+
+- make: <https://www.google.com/search?q=install+make>
+- cmake: <https://cmake.org/download/>
+
+**PATH**
+
+  Add the bin directory of CMake to the PATH:
+
+  On a Mac, set PATH to
+  ```bash
+  export PATH=/Applications/CMake.app/Contents/bin:$PATH
+  ```
 
 ## Get the code
 
@@ -32,8 +50,6 @@ ant sdk
 
 The compiler puts out '.wat' files (WebAssembly Text format). In order to compile these files
into the binary '.wasm', we have to use the *wat2wasm* tool.
 
-This tool is currently only available as source code. This means that it will have to be
compiled on your system. For this you'll need to have the following tools installed: [make](https://www.google.com/search?q=install+make)
and [CMAKE](https://cmake.org/download/). Make sure that CMAKE is on your PATH ("export PATH=/Applications/CMake.app/Contents/bin:$PATH"),
then run:
-
 ```bash
 npm install -g webassembly-binary-toolkit
 ```

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message