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.
fd
1 parent 0458557 commit fd9481aCopy full SHA for fd9481a
Makefile
@@ -26,10 +26,9 @@ endif
26
$(target_dir):
27
mkdir $@
28
29
-$(exe): $(shell find . unison -type f -name '*.hs') $(shell find . unison -type f -name '*.yaml')
30
- @echo $(exe)
31
- @echo $@
32
- stack build $(STACK_FLAGS)
+$(exe): $(shell fd '' . unison --type file -e hs 2>/dev/null || find . unison -type f -name '*.hs') $(shell fd '' . unison --type file -e yaml 2>/dev/null || find . unison -type f -name '*.yaml')
+ @echo Building $(exe_name)
+ stack build $(STACK_FLAGS) $(exe_name)
33
34
$(installed_share): $(exe) $(target_dir)
35
cp $(exe) $(installed_share)
0 commit comments