Closed johnbradley closed 2 years ago
Something to notes is the Makefile needs a GNU sed command to run. On my Mac I had errors due to the sed
-i
flag working differently. To fix this when testing on a Mac I temporarily put a GNU sed in my path.
Something to notes is the Makefile needs a GNU sed command to run. On my Mac I had errors due to the
sed
-i
flag working differently. To fix this when testing on a Mac I temporarily put a GNU sed in my path.
@johnbradley I think we could remove usages of -i
I just output to a new file. Would that work?
@johnbradley I think we could remove usages of -i I just output to a new file. Would that work?
@balhoff I think that's the only feature that's not compatible with the Mac sed. Would you like me to rework the sed commands to not use -i
?
That would be great, thanks!
Adds test/test-makefile.sh script to test the Makefile. Adds test/bin/* placeholder scripts that simulate the various commands used by the Makefile. Adds a github action to run the test on push.
Fixes #214
Creating a Draft PR to get feedback on this approach to testing just the Makefile. I wrote the placeholder scripts in node to avoid conflicts with the programs being run by the Makefile and because node makes it easy to parse differing command line arguments.