Skip to content

Commit 18b86bb

Browse files
authored
Just file and updates (#1649)
1 parent bf7c887 commit 18b86bb

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,28 @@ https://github.com/redhat-developer/code.quarkus.redhat.com is an example of how
1616

1717
# Development
1818

19+
Install [https://github.com/casey/just](just)
20+
1921
Api is located in `base/src/main/java`
2022
UI is located in `base/src/main/resources/web/`
2123

2224
Use this command to start `community-app` dev mode on: http://0.0.0.0:8080 (Api and UI).
2325
```shell
2426
# Install the parent pom and web-deps
25-
./mvnw clean install -N;./mvnw clean install -f web-deps
27+
just deps
2628

2729
# Start the dev mode
28-
./mvnw quarkus:dev -f base
30+
just dev
2931
```
3032

3133
Build the app locally:
3234
```shell
33-
mvn clean install -Dlib -Dcommunity-app
35+
just build
3436
```
3537

3638
After building, use this command to start the `community-app` in production mode:
3739
```shell
38-
java -jar community-app/target/quarkus-app/quarkus-run.jar
40+
just start
3941
```
4042

4143
# Staging

base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ void testGradleKotlin(TestInfo info) throws Throwable {
204204
.satisfies(checkContains("implementation 'io.quarkus:quarkus-rest'"))
205205
.satisfies(checkContains("implementation 'io.quarkus:quarkus-kotlin'"))
206206
.satisfies(checkContains("implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk"))
207-
.satisfies(checkContains("group 'com.kot'"))
208-
.satisfies(checkContains("version '2.0.0'"));
207+
.satisfies(checkContains("group = 'com.kot'"))
208+
.satisfies(checkContains("version = '2.0.0'"));
209209

210210
assertThatMatchSnapshot(info, projDir, "src/main/kotlin/com/test/TestResource.kt")
211211
.satisfies(checkContains("fun hello() = \"Hello from Quarkus REST\""));

justfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
alias deps := build-deps
2+
3+
build-deps:
4+
./mvnw clean install -N;./mvnw clean install -f web-deps
5+
dev:
6+
./mvnw quarkus:dev -f base
7+
build:
8+
./mvnw clean install -Dlib -Dcommunity-app
9+
start:
10+
java -jar community-app/target/quarkus-app/quarkus-run.jar

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
1919
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
20-
<quarkus.platform.version>3.24.0</quarkus.platform.version>
20+
<quarkus.platform.version>3.25.2</quarkus.platform.version>
2121

2222
<skipITs>true</skipITs>
2323
<surefire-plugin.version>3.5.2</surefire-plugin.version>

0 commit comments

Comments
 (0)