This perhaps may be the way to go... (implicit source/destination treating each 
include line as a series of arguments/parameters into an "include" function):
# issues:
# copy file to path ending in '/' (or not ending in '/')
# do we allow rename? or allow only target/dest ONLY to be a Path (not a new 
filename)
# Warning on changing .js to .py? user resp. for making sure this does not 
happen
# wildcards allowed 
# support recursive copy? or only directory by directory (future functionality, 
new parameter?)
packages:
    myPackage:
        actions:
            action1: 
                function: actions/action1
                runtime: nodejs:6
                include:
                    - ["common/utility1.js", "./utils/"]
                    - ["common/utility2.js", "./utils"]
                    - ["common/*.js", "./utils"]
                    - ["common/utilityX.js", "./utils/utilZ.js"]

[ Full content available at: 
https://github.com/apache/incubator-openwhisk-wskdeploy/issues/969 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to