mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 08:54:30 +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>
20 lines
325 B
Bash
Executable File
20 lines
325 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
if [ "${1:-}" = "-" ] && shift; then
|
|
[ $# -gt 0 ] && exec "$@"
|
|
type bash >/dev/null 2>&1 && exec /bin/bash -l
|
|
exec /bin/sh -l
|
|
fi
|
|
|
|
if [ -e .shellspec-docker/pre-test ]; then
|
|
.shellspec-docker/pre-test
|
|
fi
|
|
|
|
shellspec "$@"
|
|
|
|
if [ -e .shellspec-docker/post-test ]; then
|
|
.shellspec-docker/post-test
|
|
fi
|