Skip to content

hjhamala/serverless-clj-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-clj-plugin

A Serverless plugin which uses Leiningen to package services written in [Clojure].

This plugin simply runs either lein do test, uberjar or lein uberjar before deploying the package. If you do not want to run tests before uberjar it can be disabled with custom serverless.yml option.

Easy way to make AWS Lambda compatible Clojure functions is Lambada https://github.com/uswitch/lambada.

Installing

npm install serverless clj-plugin

Configuration

Service name and artifact name should be the same

service: example

provider:
  name: aws
  runtime: java8

custom:
  test: true

package:
  artifact: target/example.jar


plugins:
 - serverless-clj-plugin

License

Code is based on https://github.com/nervous-systems/serverless-cljs-plugin

serverless-clj-plugin is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying LICENSE file.

About

Simple Serverless plugin to help deploy Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published