cuirass.in 1.3 KB

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. # -*- scheme -*-
  3. # @configure_input@
  4. #GUILE_LOAD_PATH="@PACKAGE_LOAD_PATH@${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
  5. #GUILE_LOAD_COMPILED_PATH="@PACKAGE_LOAD_COMPILED_PATH@${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
  6. exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
  7. !#
  8. ;;;; cuirass -- continuous integration tool
  9. ;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
  10. ;;;
  11. ;;; This file is part of Cuirass.
  12. ;;;
  13. ;;; Cuirass is free software: you can redistribute it and/or modify
  14. ;;; it under the terms of the GNU General Public License as published by
  15. ;;; the Free Software Foundation, either version 3 of the License, or
  16. ;;; (at your option) any later version.
  17. ;;;
  18. ;;; Cuirass is distributed in the hope that it will be useful,
  19. ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. ;;; GNU General Public License for more details.
  22. ;;;
  23. ;;; You should have received a copy of the GNU General Public License
  24. ;;; along with Cuirass. If not, see <http://www.gnu.org/licenses/>.
  25. (define* (main #:optional (args (command-line)))
  26. (let ((cuirass-main (module-ref (resolve-interface '(cuirass ui))
  27. 'cuirass-main)))
  28. (apply cuirass-main args)))