Added makefile.rkt

This commit is contained in:
2026-08-09 00:32:36 +02:00
parent b563d359f0
commit 0f1c1da672
10 changed files with 181 additions and 19 deletions
+17
View File
@@ -0,0 +1,17 @@
#lang racket
(require rackunit
(only-in racket-makefile raco))
(check-not-exn
(lambda ()
(raco '(help))))
;; It must not require raco to be on PATH. The current Racket installation
;; should locate its own raco first.
(define env (environment-variables-copy (current-environment-variables)))
(environment-variables-set! env #"PATH" #f)
(parameterize ([current-environment-variables env])
(check-not-exn
(lambda ()
(raco '(help)))))