mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 20:04:31 +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>
16 lines
144 B
Bash
16 lines
144 B
Bash
add() {
|
|
echo $(($1 * $2)) # bug: should be '+'
|
|
}
|
|
|
|
sub() {
|
|
echo $(($1 - $2))
|
|
}
|
|
|
|
mul() {
|
|
echo $(($1 * $2))
|
|
}
|
|
|
|
div() {
|
|
echo $(($1 / $2))
|
|
}
|