blob: 139e582a88eb4699bd9736591d15b9889400df9f [file] [log] [blame] [view]
# AWS Lambda to format Kotlin code using ktfmt
## Build
```
./gradlew build
```
## Deploy
```
./build_and_deploy.sh
```
The script creates two jars, one with the `com.facebook.ktfmt.onlineformatter` package, and the other with all of its dependencies (including ktfmt itself). This makes deploying just the Lambda faster.