build(just): fix targets find command

This commit fixes the `find` command use to generate the targets files
lists. The command missed the `-type f` parameter. Because of this
missing parameter, the `teal_targets` list had the `src/awesome.d.tl`
path detected while it's actually a directory.
This commit is contained in:
Aire-One 2022-09-11 01:29:46 +02:00
parent 5fdb55da69
commit cebcc90644
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ lua := "lua" + " -l set_paths"
rocks_tree := "lua_modules" rocks_tree := "lua_modules"
rockspec_file := "rockspecs/awesomewm.d.tl-dev-1.rockspec" rockspec_file := "rockspecs/awesomewm.d.tl-dev-1.rockspec"
lua_targets := `find src/ -iname '*.lua' | xargs` + " " + `ls *.lua | xargs` lua_targets := `find src/ -type f -iname '*.lua' | xargs` + " " + `ls *.lua | xargs`
teal_targets := `find src/ types/ -iname '*.tl' | xargs` teal_targets := `find src/ types/ -type f -iname '*.tl' | xargs`
install: install:
luarocks \ luarocks \