aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:04:11 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:04:23 -0700
commit9f08215dfb179c3c37c18016fb0eafb7ec6e681e (patch)
tree6d1108b07b9a0a57dbc6c3701bf9971c9144da40 /nomsu.moon
parent247e55059ce94521895f362f5cdfdebf49bfb8e1 (diff)
Moved console colors from core/ into lib/
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon4
1 files changed, 4 insertions, 0 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 19e7b26..da9f9bd 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -112,9 +112,13 @@ run = ->
input_files = {}
to_run = {}
for input in *args.inputs
+ found = false
for f in files.walk(input)
input_files[#input_files+1] = f
to_run[f] = true
+ found = true
+ if not found
+ error("Could not find: #{input}")
nomsu.can_optimize = (f)->
return false unless args.optimized