Shellfu/Bash/JAT data-driven testing mini-framework https://pagure.io/shellfu-bash-xcase

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #!/bin/bash
  2. #shellcheck disable=SC2034
  3. # MKit - simple install helper
  4. # See LICENSE file for copyright and license details.
  5. #
  6. # Bump size (for vbump_? and release_?)
  7. #
  8. MKIT_BUMPSIZE=${MKIT_BUMPSIZE:-1}
  9. #
  10. # Debug mode (true|false)
  11. #
  12. MKIT_DEBUG=${MKIT_DEBUG:-false}
  13. #
  14. # Default deploy mode for files
  15. #
  16. MKIT_DEFAULT_MODE="644"
  17. #
  18. # Dry mode (true|false)
  19. #
  20. # Set to true to not install anything. Implies MKIT_DEBUG.
  21. #
  22. MKIT_DRY=${MKIT_DRY:-false}
  23. #
  24. # Path to mkit.ini
  25. #
  26. MKIT_INI=${MKIT_INI:-mkit.ini}
  27. #
  28. # Limit ini expansion depth
  29. #
  30. # To avoid endless loops, this value is subtracted each
  31. # time ini() expands a reference; when zero is reached,
  32. # no more expansions happen.
  33. #
  34. MKIT_INI_EXPAND=2
  35. #
  36. # Path to MKit local config and temp
  37. #
  38. # Typically hidden in project root, here MKit can
  39. # save its temporary lists.
  40. #
  41. MKIT_LOCAL=${MKIT_LOCAL:-.mkit}
  42. #
  43. # Package name
  44. #
  45. # Used as base for tarball and in some default macros.
  46. #
  47. MKIT_PROJ_PKGNAME=""
  48. #
  49. # This MKit version
  50. #
  51. MKIT_VERSION=0.0.32