Housekeeping

This commit is contained in:
Daniel Ziltener 2024-09-16 14:31:48 +02:00
parent 654f4ebd54
commit 3c2321936f
Signed by: zilti
GPG key ID: B38976E82C9DAE42
5 changed files with 28 additions and 6 deletions

3
.envrc Normal file
View file

@ -0,0 +1,3 @@
use nix -p geckodriver chicken chickenPackages_5.chickenEggs.apropos chickenPackages_5.chickenEggs.chicken-doc chickenPackages_5.chickenEggs.srfi-1 chickenPackages_5.chickenEggs.srfi-18 chickenPackages_5.chickenEggs.test-new-egg chickenPackages_5.chickenEggs.openssl chickenPackages_5.chickenEggs.test
export TEST_NEW_EGG_HENRIETTA_CACHE="$(which henrietta-cache)"
export TEST_NEW_EGG_SALMONELLA="$(which salmonella)"

View file

@ -1,4 +1,4 @@
;; [[file:raft.org::*Dependencies][Dependencies:4]] ;; [[file:raft.org::*Dependencies][Dependencies:6]]
(import r7rs (import r7rs
(chicken base) (chicken base)
(chicken string) (chicken string)
@ -14,7 +14,7 @@
srfi-35 ;;Exception Types srfi-35 ;;Exception Types
uri-common ;;Supporting HTTP functionality uri-common ;;Supporting HTTP functionality
) )
;; Dependencies:4 ends here ;; Dependencies:6 ends here
;; Error Conditions ;; Error Conditions

View file

@ -44,6 +44,12 @@
| srfi-35 | Exception Types | | srfi-35 | Exception Types |
| uri-common | Supporting HTTP functionality | | uri-common | Supporting HTTP functionality |
Test dependencies:
#+name: test-dependencies
| Egg | Description |
|------+--------------------------------|
| test | The de-facto standard test egg |
#+name: dependencies-for-egg #+name: dependencies-for-egg
#+begin_src emacs-lisp :var tbl=dependencies :colnames yes :results raw :exports none #+begin_src emacs-lisp :var tbl=dependencies :colnames yes :results raw :exports none
(mapconcat (lambda (row) (car row)) tbl " ") (mapconcat (lambda (row) (car row)) tbl " ")
@ -55,6 +61,19 @@
tbl "\n") tbl "\n")
#+end_src #+end_src
#+name: dependencies-for-nix
#+begin_src emacs-lisp :var tbl=test-dependencies :colnames yes :results raw :exports none
(concat
"geckodriver chicken chickenPackages_5.chickenEggs.apropos chickenPackages_5.chickenEggs.chicken-doc chickenPackages_5.chickenEggs.srfi-1 chickenPackages_5.chickenEggs.srfi-18 chickenPackages_5.chickenEggs.test-new-egg chickenPackages_5.chickenEggs.openssl "
(mapconcat (lambda (row) (concat "chickenPackages_5.chickenEggs." (car row))) tbl " "))
#+end_src
#+begin_src fundamental :noweb yes :tangle .envrc :exports none
use nix -p <<dependencies-for-nix()>>
export TEST_NEW_EGG_HENRIETTA_CACHE="$(which henrietta-cache)"
export TEST_NEW_EGG_SALMONELLA="$(which salmonella)"
#+end_src
#+begin_src scheme :noweb yes :tangle raft.scm :exports none #+begin_src scheme :noweb yes :tangle raft.scm :exports none
(import r7rs) (import r7rs)
(define-library (raft) (define-library (raft)

View file

@ -1,4 +1,4 @@
;; [[file:raft.org::*Dependencies][Dependencies:3]] ;; [[file:raft.org::*Dependencies][Dependencies:5]]
(import r7rs) (import r7rs)
(define-library (raft) (define-library (raft)
(import (scheme base)) (import (scheme base))
@ -78,4 +78,4 @@
&unsupported-operation unsupported-operation? &unsupported-operation unsupported-operation?
) )
(include "raft-impl.scm")) (include "raft-impl.scm"))
;; Dependencies:3 ends here ;; Dependencies:5 ends here

View file

@ -16,9 +16,9 @@
uri-common ;;Supporting HTTP functionality uri-common ;;Supporting HTTP functionality
) )
;; [[file:../raft.org::*Dependencies][Dependencies:5]] ;; [[file:../raft.org::*Dependencies][Dependencies:7]]
(include-relative "../raft-impl.scm") (include-relative "../raft-impl.scm")
;; Dependencies:5 ends here ;; Dependencies:7 ends here