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

Include various checksum SchemeHandler, e.g. MD5, SHA1 #177

Open
lefou opened this issue Feb 12, 2014 · 0 comments
Open

Include various checksum SchemeHandler, e.g. MD5, SHA1 #177

lefou opened this issue Feb 12, 2014 · 0 comments

Comments

@lefou
Copy link
Member

lefou commented Feb 12, 2014

To verify the checksum of a file, a Md5SumSchemHandler or a Sha1SchemeHandler might come in handy.

Example:

Target("phony:example") dependsOn "md5:3a7ac43fce6e9f9f0687c920c666f35e=http://sbuild.tototec.de/sbuild/attachments/download/88/de.tototec.sbuild-0.7.1.jar"

The target example depends on the file de.tototec.sbuild-0.7.1.jar which will be downloaded via HTTP and afterwards it's checksum is checked. The md5 scheme would fail, if the checksum of the downloaded file does not match.

@lefou lefou modified the milestone: SBuild 0.8.0 May 28, 2014
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