Hi Curtis, this is a great idea!! Is there maybe a way I could get an email when the code on the wiki page is updated, it could potentially mean that the code is not in sync with the documentation text I wrote anymore.
Bye bye, Stephan On Oct 9, 2012, at 22:45 , Curtis Rueden wrote: > Hi all, > > I completed an initial version of a web code snippet verification script. It > can be found in the SciJava common repository at: > > https://github.com/scijava/scijava-common/blob/master/bin/verify-code-snippets.pl > > The initial use case was to verify that code snippets from the ImgLib2 > examples page (http://fiji.sc/ImgLib2_Examples) stay in sync with code in the > Git repository > (https://github.com/imagej/imglib/tree/master/imglib2/examples/src/main/java). > > The script works by looking for a link to code on GitHub (of the form > "https://github.com/.../blob/...") preceding each code snippet. > > It is working well for the ImgLib2 Examples, so I have set up a Jenkins job > to run it daily: > http://jenkins.imagej.net/job/ImageJ-ImgLib-code-snippets/ > > Later, I will update the various code snippets on developer.imagej.net as > well and add them to the Jenkins job. > > Regards, > Curtis > > P.S. to Tobias: The script caught your recent changes to Examples 4 & 6. I > updated the wiki page to match! >
_______________________________________________ ImageJ-devel mailing list [email protected] http://imagej.net/mailman/listinfo/imagej-devel
