Fix macOS 10.15 date test (#299)

- In macOS 10.15, the `date` command adds a "-R" flag. This can be seen in the default error display. Since the flags have changed, the grep command to find which version of macOS date binary we have. Because of this change, we need to do our own check for macOS 10.15.

- Remove windows from the github actions as this tool is not for Windows, currently.
This commit is contained in:
Ali Karbassi
2020-03-27 21:32:29 -05:00
committed by GitHub
parent 8901db8bdd
commit 34d31ef45a
3 changed files with 18 additions and 4 deletions

View File

@@ -37,9 +37,9 @@ dist: $(DISTFILES) todo.sh
cp -f $(DISTFILES) $(DISTNAME)/
sed -e 's/@DEV_VERSION@/'$(VERSION)'/' todo.sh > $(DISTNAME)/todo.sh
chmod +x $(DISTNAME)/todo.sh
tar cf $(DISTNAME).tar $(DISTNAME)/
tar cf $(DISTNAME).tar $(DISTNAME)
gzip -f -9 $(DISTNAME).tar
zip -9r $(DISTNAME).zip $(DISTNAME)/
tar cf $(DISTNAME).zip $(DISTNAME)
rm -r $(DISTNAME)
.PHONY: clean