summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2023-08-30 19:33:12 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2023-08-30 19:33:12 +0300
commit6971eedee776d0014c94cbee519655e37707a8f7 (patch)
tree9df796882b9ebc15fda72973a782ca8ec085073e /utils
parentb1202918b2a7cb91e9c7744b70cea7e241bce2f8 (diff)
rename the lazy-seq function to lazy-seq* to avoid name clash with a macroHEADmaster
Diffstat (limited to 'utils')
-rw-r--r--utils/build19
-rw-r--r--utils/run-tests10
2 files changed, 0 insertions, 29 deletions
diff --git a/utils/build b/utils/build
deleted file mode 100644
index b1fa0eb..0000000
--- a/utils/build
+++ /dev/null
@@ -1,19 +0,0 @@
-;; -*- mode: fennel; -*- vi:ft=fennel
-
-(fn spit-lib [path to]
- (with-open [lib (io.open path)]
- (each [line (lib:lines)]
- ;; patching compile-time variable used to store macro module
- ;; namr because when loafing the combined file it will always
- ;; equal the the main module and will break macros in vendored
- ;; libraries.
- (case (line:match "%(local lib%-name %(or %.%.%. (.*)")
- name (to:write (.. "(local lib-name (or " name "\n"))
- _ (to:write line "\n")))))
-
-(with-open [cljlib (io.open "./cljlib.fnl" :w)]
- (let [main (io.open "src/cljlib.fnl")]
- (each [line (main:lines)]
- (case (line:match ";;;###include (.*)")
- (path) (spit-lib path cljlib)
- _ (cljlib:write line "\n")))))
diff --git a/utils/run-tests b/utils/run-tests
deleted file mode 100644
index 63a43d7..0000000
--- a/utils/run-tests
+++ /dev/null
@@ -1,10 +0,0 @@
-;; -*- mode: fennel; -*- vi:ft=fennel
-
-(local t (require :fennel-test.fennel-test))
-
-(local test-modules
- [:tests.core
- :tests.fn
- :tests.macros])
-
-(t.run-tests test-modules)