aboutsummaryrefslogtreecommitdiff
path: root/files.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-24 16:11:08 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-24 16:11:40 -0700
commitad342b63b7b6f07f9c8dc44fc09f7d478b7bb1e0 (patch)
treea3a7748e24fa493250c808edb6a1bf9b1f5d4127 /files.moon
parent65addb9aa6c5e44048f01d73429090f5ed9dd799 (diff)
Simplifications/streamlining the Make process, and cleaning up some of
how command line interaction and `use %` work.
Diffstat (limited to 'files.moon')
-rw-r--r--files.moon3
1 files changed, 2 insertions, 1 deletions
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'