~ salmonella-environment-setup (master) /conf/common/chicken-5.scm
Trap1(import scheme)
2(cond-expand
3 (chicken-4
4 (import chicken files))
5 (chicken-5
6 (import (chicken load)
7 (chicken pathname)
8 (chicken platform)
9 (chicken process-context)))
10 (else
11 (error "Unsupported CHICKEN version.")))
12
13(load-relative "./common.scm")
14
15(chicken-core-branch "chicken-5")
16
17(chicken-release 5)
18
19(chicken-bootstrap-prefix (ensure-environment-variable "CHICKEN_5_PREFIX"))
20
21(salmonella-path
22 (make-pathname (list (chicken-bootstrap-prefix) "bin")
23 "salmonella"))
24
25(skip-eggs
26 (append
27 (case (software-version)
28 ((openbsd) '(inotify))
29 ((freebsd) '(inotify pledge unveil))
30 ((linux) '(pledge unveil)))
31 (skip-eggs)))
32
33;;; Uncomment the lines below to quickly test the workflow (skip
34;;; building CHICKEN and only test one egg)
35;;
36;; (list-eggs (lambda () '(ansi-escape-sequences)))
37;; (pre-built-chicken "/path/to/prebuilt/chicken-5")