You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/22 18:12:14 UTC

[GitHub] sciabarracom opened a new pull request #47: ActionLoop Swift image

sciabarracom opened a new pull request #47: ActionLoop Swift image
URL: https://github.com/apache/incubator-openwhisk-runtime-swift/pull/47
 
 
   To build the image you need as a base image the actionloop image.
   
   Just complete the merge of the PR I just did. It is an all inclusive one.
   
   If you do not want to merge yet, currently you have to build it from https://github.com/sciabarracom/incubator-openwhisk-runtime-go
   
   NOTE NOTE NOTE NOTE
   
   The epilogue does not yet support Codable (I cannot code enough swift to fix it).
   However the image is able to accept binaries and "simple" swift source actions.
   
   IMPORTANT
   The image can also work as offline compiler. For example if you have a src/main.swift, you can do:
   
   docker run -v $PWD/src:/src $PWD/out:/out actionloop-swift-v4.1 compile
   
   it will produce a out/main
   
   also with a function "hello" in src/hello.swift
   
   docker run -v $PWD/src:/src $PWD/out:/out actionloop-swift-v4.1 compile hello
   
   will use the function hello and produce the out/hello binary
   
   I am using this features in tests.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services