Skip to content

Commit 1f45d9e

Browse files
committed
Syntax and readme changes
1 parent c2b34a0 commit 1f45d9e

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ with an explicit and predictable workflow.
1414
## Why GKit?
1515

1616
Building native images with GraalVM is powerful but often painful:
17-
complex plugins, duplicated configuration, CI inconsistencies.
17+
complex plugins, duplicated configuration, CI inconsistencies, tons of build args.
1818

1919
GKit focuses on:
20-
- **Developer Experience** – clear commands, no magic
20+
- **Developer Experience** – clear commands, detailed feedback
2121
- **Portable configuration** – one `gkit.yml`, reusable everywhere
2222
- **CI-friendly workflows** – explicit commands, dry-run support
2323

24-
GKit does **not** replace Maven or Gradle.
25-
It orchestrates them.
26-
2724

2825
## Features
2926

@@ -60,6 +57,8 @@ build:
6057

6158
nativeImage:
6259
output: target/my-app
60+
buildArgs:
61+
fallbackImage: false
6362

6463
profiles:
6564
dev:
@@ -175,13 +174,6 @@ nativeImage:
175174

176175
#### Notes:
177176

178-
- **Boolean flags** (`fallbackImage: false`) will be converted to `--no-fallback` automatically.
179-
- **List arguments** (`initializeAtBuildTime: [foo, bar]`) will generate repeated flags:
180-
181-
```bash
182-
--initialize-at-build-time=foo --initialize-at-build-time=bar
183-
```
184-
185177
- **Raw args** are passed **as-is** to native-image.
186178

187179
- If a [profile](#Profiles) overrides a flag:

src/main/java/fr/ariouz/gkit/doctor/ConfigDoctorCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected String getStatusMessage(DoctorStatus status) {
3131
return switch (status) {
3232
case ERROR -> "Failed to load config. Consider using gkit check-config [-p PROFILE] for details";
3333
case WARNING -> "One or more native build args are invalid. Consider using gkit check-config [-p PROFILE] for details";
34-
case SUCCESS -> "No error on base profile found. Consider using gkit check-config -p PROFILE for profile validation";
34+
case SUCCESS -> "No error on base profile found. Consider using gkit check-config [-p PROFILE] for profile validation";
3535
};
3636
}
3737
}

0 commit comments

Comments
 (0)