Skip to content

Commit

Permalink
now makefile returns value
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-chumak committed May 11, 2024
1 parent e237279 commit bc6a76a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions reference/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ export CHECK_REFERENCE

check-reference: reference/README.md $(wildcard reference/en/**/*.md)
@echo "Testing reference:"
@ol reference/check.lisp $(filter %.md,$^) && echo $(ok) || echo $(failed)
@ol reference/check.lisp $(filter %.md,$^)\
&& (echo $(ok); exit 0)\
|| (echo $(failed); exit 1)

check-win64-reference: reference/README.md $(wildcard reference/en/**/*.md)
# win64 reference check #
$(MAKE) libol-algebra.dll
WINEPATH='Z:\usr\lib\gcc\x86_64-w64-mingw32\10-win32;Z:\usr\x86_64-w64-mingw32\lib' \
wine ol.exe reference/check.lisp $^
wine ol.exe reference/check.lisp $(filter %.md,$^) \
&& (echo $(ok); exit 0)\
|| (echo $(failed); exit 1)

#echo "$$CHECK_REFERENCE" | ol - $(filter %.md,$^) && echo $(ok) || echo $(failed)
#ol reference/tool.lisp $(filter %.md,$^) && echo $(ok) || echo $(failed)

0 comments on commit bc6a76a

Please sign in to comment.