mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- Introduce lib/shell helpers and keep etc/* scripts thin via compatibility shims - Move Kerberos validation to scripts/validation/check_kerberos.sh and update callers - Add deterministic shellspec unit tests under tests/shellspec/ and wire Maven to run them - Add minimal Spring Boot authority module with startup + /health endpoint and Maven wiring - Document the new layout in docs/layout.md Co-authored-by: Junie <junie@jetbrains.com>
26 lines
493 B
Bash
Executable File
26 lines
493 B
Bash
Executable File
#!/bin/sh
|
|
|
|
version() {
|
|
./shellspec --version
|
|
}
|
|
|
|
files() {
|
|
echo "["
|
|
files="$(find bin lib libexec \( -type f -o -type l \) -exec echo " \"{}\"," \; | sort)"
|
|
echo "${files%,}"
|
|
echo " ]"
|
|
}
|
|
|
|
cat<<JSON
|
|
{
|
|
"name": "ShellSpec",
|
|
"version": "$(version)",
|
|
"description": "BDD style unit testing framework for POSIX compliant shell script",
|
|
"homepage": "https://shellspec.info",
|
|
"scripts": ["shellspec"],
|
|
"license": "MIT",
|
|
"files": $(files),
|
|
"install": "make install"
|
|
}
|
|
JSON
|