Skip to content

Commit 6453e6e

Browse files
committed
streamline generator
1 parent 3a6395b commit 6453e6e

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

_ref/generate.arc

-14
This file was deleted.

_ref/generate.sh

+13-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,23 @@ exec racket -f $0
55

66
(require racket/base)
77

8-
(require "arc/ac.scm")
8+
(require "arc/ac.scm")
99
(require "arc/brackets.scm")
1010
(use-bracket-readtable)
1111

1212
(parameterize ((current-directory "arc"))
1313
(aload "arc.arc")
1414
(aload "libs.arc"))
1515

16-
(aload "generate.arc")
17-
18-
(system "cp output/* ../ref/")
16+
(system "rm -rf html")
17+
(arc-eval '(do
18+
(ensure-dir "html")
19+
(declare 'atstrings nil)
20+
(load "template.arc")
21+
(runall)
22+
;fails with "Expected tests" error
23+
;(run "foundation-doc.tem")
24+
(system "cp foundation-doc.html html/")
25+
))
26+
(system "cp docs/* html/* ../ref")
27+
(system "rm -rf html")

0 commit comments

Comments
 (0)