~technomancy/fnlfmt

4346f32a6345dd055e0cee74bed16e851f8de06f — Phil Hagelberg 2 years ago db64686
Rename module to fnlfmt.
4 files changed, 4 insertions(+), 4 deletions(-)

M Makefile
M fnlfmt
R fennelfmt.fnl => fnlfmt.fnl
M test.fnl
M Makefile => Makefile +2 -2
@@ 1,5 1,5 @@
SRC = fennelfmt.fnl fnlfmt test.fnl
SRC = fnlfmt.fnl fnlfmt test.fnl

test: ; fennel test.fnl
count: ; cloc fennelfmt.fnl
count: ; cloc fnlfmt.fnl
roundtrip: ; @for file in $(SRC) ; do ./fnlfmt $$file | diff -u $$file - ; done

M fnlfmt => fnlfmt +1 -1
@@ 1,6 1,6 @@
#!/usr/bin/env fennel

(local fmt (require :fennelfmt))
(local fmt (require :fnlfmt))

(fn format [filename]
  (let [f (assert (io.open filename :r) "File not found.")

R fennelfmt.fnl => fnlfmt.fnl +0 -0
M test.fnl => test.fnl +1 -1
@@ 1,4 1,4 @@
(local fmt (require :fennelfmt))
(local fmt (require :fnlfmt))

(local cases ["top" "table" "call" "body" "misc"])