summaryrefslogtreecommitdiff
path: root/.fenneldoc
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2021-06-23 18:46:22 +0300
committerAndrey Listopadov <andreyorst@gmail.com>2021-06-23 18:46:22 +0300
commitf49835c11b16b0d8cf136f076c31cbc28f1f4931 (patch)
treedacf3c29ce3849835e5d4c7f934a7f42a6a0e7c2 /.fenneldoc
parent89229826da0c2b8e019f2f078c2e8de7471e1d7e (diff)
refactor library to use new init-macros.fnl feature
Old way of requiring the library: (local clj (require :fennel-cljlib) (import-macros cljm :fennel-cljlib.macros) New way: (local clj (require :fennel-cljlib) (import-macros cljm :fennel-cljlib)
Diffstat (limited to '.fenneldoc')
-rw-r--r--.fenneldoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.fenneldoc b/.fenneldoc
index 720ab5e..57ac914 100644
--- a/.fenneldoc
+++ b/.fenneldoc
@@ -7,7 +7,7 @@
:project-license "[MIT](https://gitlab.com/andreyorst/fennel-cljlib/-/raw/master/LICENSE)"
:project-copyright "Copyright (C) 2020-2021 Andrey Listopadov"
:test-requirements {:init.fnl "(import-macros {: assert-eq : assert-ne : assert-is : assert-not} :fennel-test.test)"
- :macros.fnl "(require-macros :macros)
- (import-macros {: assert-eq} :fennel-test.test)
- (local {: eq : vector : hash-map} (require :init))"
+ :init-macros.fnl "(require-macros :init-macros)
+ (import-macros {: assert-eq} :fennel-test.test)
+ (local {: eq : vector : hash-map} (require :init))"
:tests/test.fnl "(require-macros :fennel-test.test)"}}