From cebcc906444e3d9187a44d5f29301fb6d0c65cfa Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 11 Sep 2022 01:29:46 +0200 Subject: [PATCH] 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. --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 66d7c64..fcd9684 100644 --- a/justfile +++ b/justfile @@ -4,8 +4,8 @@ lua := "lua" + " -l set_paths" rocks_tree := "lua_modules" rockspec_file := "rockspecs/awesomewm.d.tl-dev-1.rockspec" -lua_targets := `find src/ -iname '*.lua' | xargs` + " " + `ls *.lua | xargs` -teal_targets := `find src/ types/ -iname '*.tl' | xargs` +lua_targets := `find src/ -type f -iname '*.lua' | xargs` + " " + `ls *.lua | xargs` +teal_targets := `find src/ types/ -type f -iname '*.tl' | xargs` install: luarocks \