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:
parent
5fdb55da69
commit
cebcc90644
4
justfile
4
justfile
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue