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