You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/08/16 18:31:41 UTC

[incubator-openwhisk] branch master updated: Update CLI readme with cross platform information (#2625)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new d925336  Update CLI readme with cross platform information (#2625)
d925336 is described below

commit d9253369f27e2783adc89ce74c4ea0f6673e1562
Author: Rob Allen <ro...@akrabat.com>
AuthorDate: Wed Aug 16 19:31:39 2017 +0100

    Update CLI readme with cross platform information (#2625)
    
    Add information on how to build the CLI binaries for the other
    platforms.
---
 tools/cli/README.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/tools/cli/README.md b/tools/cli/README.md
index 44779d8..50f7935 100644
--- a/tools/cli/README.md
+++ b/tools/cli/README.md
@@ -1,6 +1,6 @@
 To build the OpenWhisk CLI run the following command from the OpenWhisk home directory:
 
-$ gradle :tools:cli:distDocker
+    $ ./gradlew :tools:cli:distDocker
 
 Multiple binaries are produced in a Docker container during the build process. One of those binaries is copied from the
 Docker container to the local file system in the following directory: ../../bin/wsk. This binary will be platform
@@ -13,3 +13,12 @@ To get CLI command help, execute the following command:
 $ wsk --help
 
 To get CLI command debug information, include the -d, or --debug flag when executing a command.
+
+
+## Cross platform compilation
+
+To build binaries for all the platforms (Linux, macOS and Windows) use: 
+
+    $ ./gradlew :tools:cli:distDocker -PcrossCompileCLI=true
+
+The binaries can then be found in `$OPENWHISK_HOME/bin`, in the `linux`, `mac` & `windows` subdirectories as appropriate.

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