~technomancy/fennel-lang.org

e764d5c05951e69d407fb6840764f15fef22c980 — Phil Hagelberg 2 months ago 957ae8d
Remove generate.lua.

This was moved in the latest version but it really isn't needed.
2 files changed, 2 insertions(+), 5 deletions(-)

M init.lua
M makefile
M init.lua => init.lua +0 -1
@@ 31,7 31,6 @@ end}

package.preload.fennelview = assert(loadfile("fennelview.lua"))
package.preload.fennelfriend = assert(loadfile("fennelfriend.lua"))
package.preload.generate = assert(loadfile("generate.lua"))

-- Save references to lua baselib functions used
local _G = _G

M makefile => makefile +2 -4
@@ 7,7 7,7 @@ TAGDIRS := master $(foreach tag, $(TAGS), v${tag})
TAGSOURCES := changelog reference api

HTML := tutorial.html api.html reference.html lua-primer.html changelog.html setup.html
LUA := generate.lua fennelview.lua fennelfriend.lua
LUA := fennelview.lua fennelfriend.lua

# This requires pandoc 2.0+
PANDOC=pandoc --syntax-definition fennel-syntax.xml \


@@ 34,8 34,6 @@ reference.html: fennel/reference.md ; $(PANDOC) --toc -o $@ $^
	$*/fennel/fennel --compile $< > $@
%/fennelfriend.lua: %/fennel/fennelfriend.fnl %/fennel/fennel
	$*/fennel/fennel --compile $< > $@
%/generate.lua: %/fennel/generate.fnl %/fennel/fennel
	$*/fennel/fennel --compile $< > $@

v%/fennel:
	git clone --branch $* fennel $@


@@ 58,7 56,7 @@ tagdirs: ; $(foreach tagdir, $(TAGDIRSS), mkdir -p ${tagdir})
cleantagdirs: ; $(foreach tagdir, $(TAGDIRS), rm -rf ${tagdir})
tags: tagdirs $(foreach tagdir, $(TAGDIRS), ${tagdir}/fennel)
TAGDOCS := $(foreach tagdir, $(TAGDIRS), \
	$(foreach file, index.html init.lua repl.fnl fennelview.lua generate.lua, \
	$(foreach file, index.html init.lua repl.fnl fennelview.lua, \
		${tagdir}/${file}))

build: html lua tagdocs