Skip to content

Instantly share code, notes, and snippets.

@jeffa
Last active February 13, 2017 20:39
Show Gist options
  • Select an option

  • Save jeffa/0dc64f5cccf813d77e0aa3ac2ae5644a to your computer and use it in GitHub Desktop.

Select an option

Save jeffa/0dc64f5cccf813d77e0aa3ac2ae5644a to your computer and use it in GitHub Desktop.
Git pre-commit hook
#!/usr/bin/env perl
use strict;
use warnings;
use App::Prove;
my $app = App::Prove->new;
$app->process_args( @ARGV, '-l' );
exit( $app->run ? 0 : 1 );
@jeffa
Copy link
Copy Markdown
Author

jeffa commented Feb 13, 2017

Perl is the best. 🥇

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