From ad342b63b7b6f07f9c8dc44fc09f7d478b7bb1e0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Jun 2018 16:11:08 -0700 Subject: Simplifications/streamlining the Make process, and cleaning up some of how command line interaction and `use %` work. --- files.moon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'files.moon') diff --git a/files.moon b/files.moon index 629bc9c..e873c1d 100644 --- a/files.moon +++ b/files.moon @@ -39,7 +39,8 @@ if ok return true elseif file_type == 'directory' for subfile in lfs.dir(filename) - unless subfile == "." or subfile == ".." + -- Only include .nom files unless directly specified + unless subfile == "." or subfile == ".." or not subfile\match("%.nom$") browse(filename.."/"..subfile) return true elseif file_type == 'char device' -- cgit v1.2.3