3.0.0-alpha.1 ā€¢ Published 4 years ago

serverless-swift v3.0.0-alpha.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

serverless swift npm

A āš” Serverless framework āš” plugin for Swift applications

šŸ“¦ Install

Install the plugin with npm

$ npm i -D serverless-swift

šŸ’” This serverless plugin assumes you are building Swift lambdas targeting the AWS Lambda "provided" runtime.

Add the following to your serverless project's serverless.yml file

service: demo

provider:
  name: aws
  runtime: swift

plugins:
  - serverless-swift

functions:
  test:
    # handler value syntax is `{your-executable-binary}.{bin-name}`
    # or `{your-executable-binary}` for short when you are building a
    # default bin for a given package.
    handler: <your-executable-binary>

The build needs to generate a swift executable. The name of the executable will either be the Swift project parent folder name by default or specified in the Package.swift file. Remember to place that instead of above.

On every deploy a prebuilt AWS Lambda Layer is attached automatically to every swift functions. The layer adds required dependencies to run a compiled Swift executables in a Lambda.

šŸ™Œ Acknowledgements

This project has been possible thanks to the following people:

3.0.0-alpha.1

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.8

4 years ago

1.2.9

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.3.4

4 years ago

0.3.2

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago