diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 18:46:22 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 18:46:22 +0300 |
| commit | f49835c11b16b0d8cf136f076c31cbc28f1f4931 (patch) | |
| tree | dacf3c29ce3849835e5d4c7f934a7f42a6a0e7c2 /.fenneldoc | |
| parent | 89229826da0c2b8e019f2f078c2e8de7471e1d7e (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-- | .fenneldoc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)"}} |