In case of multiple actions with shared files like a library or utility, 
`wskdeploy` should provide a way to specify `include` or `exclude` for an 
action so that it can support creating zip actions with an action file plus 
common shared file without user duplicating that utility file in each action.

For example, add support for something like this:

```
ls -1 actions/common/
utility.js
ls -1 actions/action1/
action1.js
ls -1 actions/action2/
action2.js
ls -1 actions/action3/
action3.js
```

manifest.yaml

```
packages:
    myPackage:
        actions:
             action1: actions/action1
             runtime: nodejs:6
              include:
                  - common/utility.js
             action2: actions/action2
             runtime: nodejs:6
              include:
                  - common/utility.js
             action3: actions/action3
             runtime: nodejs:6
              include:
                  - common/utility.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