Skip to content

Commit

Permalink
add installation section in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
massimosiani committed Jul 24, 2022
1 parent ac5cb0d commit 5ffc540
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
- name: Check that workflows are up to date
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' 'project /' githubWorkflowCheck

- name: Check formatting
- name: Check headers and formatting
if: matrix.java == 'temurin@8'
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' scalafmtCheckAll 'project /' scalafmtSbtCheck
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck

- name: Test
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' test
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ThisBuild / developers := List(
tlGitHubDev("massimosiani", "Massimo Siani")
)

ThisBuild / tlCiHeaderCheck := false
ThisBuild / tlCiHeaderCheck := true
ThisBuild / tlCiScalafixCheck := true
ThisBuild / tlCiScalafmtCheck := true
ThisBuild / tlSitePublishBranch := Some("main")
Expand Down
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ An integration library for Natchez and Akka Http.

Only a server middleware has been implemented so far.

## Installation

Add the following to your `build.sbt`
```scala
libraryDependencies ++= Seq("io.github.massimosiani" %% "natchez-akka-http" % <version>)
```

## Plain Akka Http
If you only have the routes, then follow the example in the
[vanilla akka http example](https://github.com/massimosiani/natchez-akka-http/tree/main/examples/vanilla-akka).
Expand Down

0 comments on commit 5ffc540

Please sign in to comment.