From f49835c11b16b0d8cf136f076c31cbc28f1f4931 Mon Sep 17 00:00:00 2001 From: Andrey Listopadov Date: Wed, 23 Jun 2021 18:46:22 +0300 Subject: 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) --- .fenneldoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.fenneldoc') 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)"}} -- cgit v1.2.3