Add more stuff to cloc

Count etlua as html files.
This commit is contained in:
Robin Malley 2021-08-27 01:05:18 +00:00
parent 3db891800b
commit e3468136e5
1 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@ RM=rm -f
SPP=spp SPP=spp
CD=cd CD=cd
# Config # Config
chroot_dir=kore_chroot/ chroot_dir=kore_chroot/
mirror=http://dl-cdn.alpinelinux.org/alpine/ mirror=http://dl-cdn.alpinelinux.org/alpine/
@ -59,7 +58,7 @@ clean:
$(Q)$(RM) src/lua/config.lua $(Q)$(RM) src/lua/config.lua
cloc: cloc:
cloc src cloc --force-lang="HTML",etlua.in src assets
$(chroot_dir): apk-tools-static-$(version).apk $(chroot_dir): apk-tools-static-$(version).apk
$(Q)$(MKDIR) $(chroot_dir) $(Q)$(MKDIR) $(chroot_dir)
@ -129,4 +128,4 @@ smr.so : $(src_files) conf/smr.conf conf/build.conf
$(Q)$(KODEV) build $(Q)$(KODEV) build
test : $(built) test : $(built)
$(Q)$(CD) kore_chroot && busted $(Q)$(CD) kore_chroot && busted -v