Skip to content

Commit

Permalink
Fix command line invocation of spring boot demo in README and add to …
Browse files Browse the repository at this point in the history
…Makefile (#16)

Also remove `run` from the ktor server, alternatively we can run
`gradle run` or gradle bootRun` without scoping the tasks because there
aren't collisions, so it's confusing to have `run` twice for the ktor
server
  • Loading branch information
albertchae authored Feb 24, 2024
1 parent ff0cab9 commit ab46ac9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.PHONY: dev
dev:
gradle run inngest-test-server:run
gradle inngest-test-server:run

.PHONY: dev-spring-boot
dev-spring-boot:
gradle inngest-spring-boot-demo:bootRun

.PHONY: test
test:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ val myFunction = InngestFunction(
To build this in development, set up Java, Kotlin and Gradle locally and run the test server:

```
gradle run inngest-test-server:run
gradle inngest-test-server:run
```

This runs a `ktor` web server to test the SDK against the dev server.
Expand All @@ -60,5 +60,5 @@ This runs a `ktor` web server to test the SDK against the dev server.
To run the `spring-boot` test server:

```
gradle run inngest-spring-boot-demo:bootRun
gradle inngest-spring-boot-demo:bootRun
```

0 comments on commit ab46ac9

Please sign in to comment.