Housekeeping
This commit is contained in:
parent
654f4ebd54
commit
3c2321936f
5 changed files with 28 additions and 6 deletions
3
.envrc
Normal file
3
.envrc
Normal 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)"
|
|
@ -1,4 +1,4 @@
|
|||
;; [[file:raft.org::*Dependencies][Dependencies:4]]
|
||||
;; [[file:raft.org::*Dependencies][Dependencies:6]]
|
||||
(import r7rs
|
||||
(chicken base)
|
||||
(chicken string)
|
||||
|
@ -14,7 +14,7 @@
|
|||
srfi-35 ;;Exception Types
|
||||
uri-common ;;Supporting HTTP functionality
|
||||
)
|
||||
;; Dependencies:4 ends here
|
||||
;; Dependencies:6 ends here
|
||||
|
||||
;; Error Conditions
|
||||
|
||||
|
|
19
raft.org
19
raft.org
|
@ -44,6 +44,12 @@
|
|||
| srfi-35 | Exception Types |
|
||||
| uri-common | Supporting HTTP functionality |
|
||||
|
||||
Test dependencies:
|
||||
#+name: test-dependencies
|
||||
| Egg | Description |
|
||||
|------+--------------------------------|
|
||||
| test | The de-facto standard test egg |
|
||||
|
||||
#+name: dependencies-for-egg
|
||||
#+begin_src emacs-lisp :var tbl=dependencies :colnames yes :results raw :exports none
|
||||
(mapconcat (lambda (row) (car row)) tbl " ")
|
||||
|
@ -55,6 +61,19 @@
|
|||
tbl "\n")
|
||||
#+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
|
||||
(import r7rs)
|
||||
(define-library (raft)
|
||||
|
|
4
raft.scm
4
raft.scm
|
@ -1,4 +1,4 @@
|
|||
;; [[file:raft.org::*Dependencies][Dependencies:3]]
|
||||
;; [[file:raft.org::*Dependencies][Dependencies:5]]
|
||||
(import r7rs)
|
||||
(define-library (raft)
|
||||
(import (scheme base))
|
||||
|
@ -78,4 +78,4 @@
|
|||
&unsupported-operation unsupported-operation?
|
||||
)
|
||||
(include "raft-impl.scm"))
|
||||
;; Dependencies:3 ends here
|
||||
;; Dependencies:5 ends here
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
uri-common ;;Supporting HTTP functionality
|
||||
)
|
||||
|
||||
;; [[file:../raft.org::*Dependencies][Dependencies:5]]
|
||||
;; [[file:../raft.org::*Dependencies][Dependencies:7]]
|
||||
(include-relative "../raft-impl.scm")
|
||||
;; Dependencies:5 ends here
|
||||
;; Dependencies:7 ends here
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue