We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2bd00b commit cbcd7d1Copy full SHA for cbcd7d1
example/Makefile
@@ -1,6 +1,6 @@
1
.PHONY: all clean
2
3
-MPP = ../bin/mpp -Iassets/css -Iassets/js
+MPP = ../bin/mpp -Iassets/*
4
5
all: css/root.css js/root.js
6
src/resolver.cr
@@ -21,7 +21,7 @@ class Resolver
21
end
22
23
def add(paths : Array(String))
24
- @search_paths.concat(paths.map { |path| File.expand_path(path) })
+ paths.each { |path| Dir.glob(path) { |file| @search_paths << file } }
25
26
27
private def find(path)
0 commit comments