Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check presence of required external tools for each comparison engine #4

Open
dgsuarez opened this issue Feb 4, 2018 · 0 comments
Open

Comments

@dgsuarez
Copy link
Owner

dgsuarez commented Feb 4, 2018

The core of Similatron are comparison engines. Each engine works on different file types, and most of them use external tools, for example Imagemagick (for image files) or Ghostscript + Imagemagick (for PDFs). If a tool is missing that engine should not be used.

It could be as simple as having a class method in each of the engines to check if the executable exists, and then in Run#build_engines select only those engines that are available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant