From b6745c733e11cb592e17dbb53191ddcd8e654008 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Thu, 8 Aug 2024 22:14:21 -0300 Subject: [PATCH] add Generating samples to contributing --- CONTRIBUTING.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7af2bf81..749ecc6c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,31 @@ or Fix / Code / Document and create a pull request 💯 -### Synchronizing generator-jhipster templates +## Generating samples + +Default maven application: + +``` +khipster --defaults --skip-install +``` + +Default gradle application: + +``` +khipster --build gradle --defaults --skip-install +``` + +CI samples: + +``` +khipster generate-sample --app-sample sample-name +``` + +Tips: + +- Ktlint formatting is slow, disable with `--skip-ktlint-format` + +## Synchronizing generator-jhipster templates Run: